Class CompressedList<T>
Inheritance
System.Object
CompressedList<T>
Namespace: Telerik.Windows.Core
Assembly: Telerik.Windows.Scheduling.Core.dll
Syntax
public class CompressedList<T> : Object, IEquatable<CompressedList<T>>
Type Parameters
T
|
Constructors
CompressedList(IList<T>, Func<T, T, Boolean>)
Declaration
public CompressedList(IList<T> rawData, Func<T, T, bool> areEqual)
Parameters
System.Collections.Generic.IList<T>
rawData
|
System.Func<T, T, System.Boolean>
areEqual
|
CompressedList(Int32, T, Func<T, T, Boolean>)
Declaration
public CompressedList(int count, T defaultValue, Func<T, T, bool> areEqual)
Parameters
System.Int32
count
|
T
defaultValue
|
System.Func<T, T, System.Boolean>
areEqual
|
Properties
CompressedData
Declaration
public IList<CompressedListItem<T>> CompressedData { get; }
Property Value
System.Collections.Generic.IList<CompressedListItem<T>>
|
Count
Declaration
public int Count { get; }
Property Value
System.Int32
|
Methods
Equals(CompressedList<T>)
Declaration
public bool Equals(CompressedList<T> other)
Parameters
CompressedList<T>
other
|
Returns
System.Boolean
|
Insert(Int32, T, Int32)
Declaration
public void Insert(int index, T value, int count)
Parameters
System.Int32
index
|
T
value
|
System.Int32
count
|
Insert(Int32, IList<T>)
Declaration
public void Insert(int index, IList<T> rawData)
Parameters
System.Int32
index
|
System.Collections.Generic.IList<T>
rawData
|
Insert(Int32, Int32, CompressedList<T>, Int32)
Declaration
public void Insert(int destinationOffset, int sourceOffset, CompressedList<T> sourceList, int count)
Parameters
System.Int32
destinationOffset
|
System.Int32
sourceOffset
|
CompressedList<T>
sourceList
|
System.Int32
count
|
InsertCore(Int32, CompressedList<T>)
Declaration
public void InsertCore(int index, CompressedList<T> list)
Parameters
System.Int32
index
|
CompressedList<T>
list
|
Remove(Int32, Int32)
Declaration
public void Remove(int index, int count)
Parameters
System.Int32
index
|
System.Int32
count
|
RemoveCore(Int32, Int32)
Declaration
public void RemoveCore(int index, int count)
Parameters
System.Int32
index
|
System.Int32
count
|
SubList(Int32, Int32)
Declaration
public CompressedList<T> SubList(int startIndex, int count)
Parameters
System.Int32
startIndex
|
System.Int32
count
|
Returns
CompressedList<T>
|
Update(Int32, T)
Declaration
public void Update(int offset, T dataItem)
Parameters
System.Int32
offset
|
T
dataItem
|
Update(Int32, IList<T>)
Declaration
public void Update(int offset, IList<T> rawData)
Parameters
System.Int32
offset
|
System.Collections.Generic.IList<T>
rawData
|
Update(Int32, Int32, CompressedList<T>, Int32)
Declaration
public void Update(int destinationOffset, int sourceOffset, CompressedList<T> sourceList, int count)
Parameters
System.Int32
destinationOffset
|
System.Int32
sourceOffset
|
CompressedList<T>
sourceList
|
System.Int32
count
|
UpdateCore(Int32, T)
Declaration
public void UpdateCore(int offset, T dataItem)
Parameters
System.Int32
offset
|
T
dataItem
|