Show / Hide Table of Contents

Class TemplatableCollectionList<T>

A class that abstracts a list of templated objects.

Inheritance
Object
TemplatableCollectionList<T>
TemplatableCollection<T>
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public abstract class TemplatableCollectionList<T> : object
Type Parameters
Name Description
T

The type of templated objects.

Methods

| Improve this Doc View Source

ClearList()

Removes all elements.

Declaration
public virtual void ClearList()
| Improve this Doc View Source

GetList()

Gets backing list of templated objects.

Declaration
protected abstract IList<T> GetList()
Returns
Type Description
IList<T>
Remarks

The returned list must not directly be modified.

| Improve this Doc View Source

InsertListRange(Int32, IEnumerable<T>)

Inserts the elements of a collection at the specified index.

Declaration
public abstract void InsertListRange(int index, IEnumerable<T> enumerable)
Parameters
Type Name Description
Int32 index

The zero-based index at which the new elements should be inserted.

IEnumerable<T> enumerable

The collection whose elements should be inserted.

| Improve this Doc View Source

MoveListRange(Int32, Int32, Int32)

Moves the elements of a collection.

Declaration
public virtual void MoveListRange(int from, int to, int count)
Parameters
Type Name Description
Int32 from

The zero-based index at which the elements currently are.

Int32 to

The zero-based index at which the elements will be.

Int32 count

The number of elements to move.

| Improve this Doc View Source

RemoveListRange(Int32, Int32)

Removes a range of elements.

Declaration
public abstract void RemoveListRange(int index, int count)
Parameters
Type Name Description
Int32 index

The zero-based starting index of the range of elements to remove.

Int32 count

The number of elements to remove.

| Improve this Doc View Source

ReplaceListRange(Int32, Int32, IEnumerable<T>)

Replaces the elements of a collection.

Declaration
public virtual void ReplaceListRange(int index, int count, IEnumerable<T> enumerable)
Parameters
Type Name Description
Int32 index

The zero-based starting index of the range of elements to remove.

Int32 count

The number of elements to replace.

IEnumerable<T> enumerable

The collection whose elements should be replaced with.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX