Class SortedLimitedList<TKey, TValue>
Inheritance
System.Object
SortedLimitedList<TKey, TValue>
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>
System.Collections.Generic.IList<TValue>
System.Collections.Generic.ICollection<TValue>
System.Collections.Generic.IEnumerable<TValue>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.EntitySync.dll
Syntax
[Serializable]
public class SortedLimitedList<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IDictionary, ICollection, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IList<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Constructors
|
Improve this Doc
View Source
SortedLimitedList(Int32)
Declaration
public SortedLimitedList(int maxSize)
Parameters
Type |
Name |
Description |
System.Int32 |
maxSize |
|
|
Improve this Doc
View Source
SortedLimitedList(Int32, IComparer<TKey>)
Declaration
public SortedLimitedList(int maxSize, IComparer<TKey> comparer)
Parameters
Type |
Name |
Description |
System.Int32 |
maxSize |
|
System.Collections.Generic.IComparer<TKey> |
comparer |
|
|
Improve this Doc
View Source
SortedLimitedList(Int32, Int32)
Declaration
public SortedLimitedList(int capacity, int maxSize)
Parameters
Type |
Name |
Description |
System.Int32 |
capacity |
|
System.Int32 |
maxSize |
|
|
Improve this Doc
View Source
SortedLimitedList(Int32, Int32, IComparer<TKey>)
Declaration
public SortedLimitedList(int capacity, int maxSize, IComparer<TKey> comparer)
Parameters
Type |
Name |
Description |
System.Int32 |
capacity |
|
System.Int32 |
maxSize |
|
System.Collections.Generic.IComparer<TKey> |
comparer |
|
Properties
|
Improve this Doc
View Source
Capacity
Declaration
public int Capacity { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Comparer
Declaration
public IComparer<TKey> Comparer { get; }
Property Value
Type |
Description |
System.Collections.Generic.IComparer<TKey> |
|
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Item[TKey]
Declaration
public TValue this[TKey key] { get; set; }
Parameters
Type |
Name |
Description |
TKey |
key |
|
Property Value
|
Improve this Doc
View Source
Item[Int32]
Declaration
public TValue this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
|
Improve this Doc
View Source
Keys
Declaration
public IList<TKey> Keys { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<TKey> |
|
|
Improve this Doc
View Source
Values
Declaration
public IList<TValue> Values { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<TValue> |
|
Methods
|
Improve this Doc
View Source
Add(TKey, TValue)
Declaration
public void Add(TKey key, TValue value)
Parameters
Type |
Name |
Description |
TKey |
key |
|
TValue |
value |
|
|
Improve this Doc
View Source
Add(TValue)
Declaration
public void Add(TValue item)
Parameters
Type |
Name |
Description |
TValue |
item |
|
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
ClearSize()
Declaration
|
Improve this Doc
View Source
Contains(TValue)
Declaration
public bool Contains(TValue item)
Parameters
Type |
Name |
Description |
TValue |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ContainsKey(TKey)
Declaration
public bool ContainsKey(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ContainsValue(TValue)
Declaration
public bool ContainsValue(TValue value)
Parameters
Type |
Name |
Description |
TValue |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CopyTo(TValue[], Int32)
Declaration
public void CopyTo(TValue[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
TValue[] |
array |
|
System.Int32 |
arrayIndex |
|
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>> |
|
|
Improve this Doc
View Source
GetValues()
Declaration
public TValue[] GetValues()
Returns
Type |
Description |
TValue[] |
|
|
Improve this Doc
View Source
IndexOf(TValue)
Declaration
public int IndexOf(TValue item)
Parameters
Type |
Name |
Description |
TValue |
item |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IndexOfKey(TKey)
Declaration
public int IndexOfKey(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IndexOfValue(TValue)
Declaration
public int IndexOfValue(TValue value)
Parameters
Type |
Name |
Description |
TValue |
value |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Insert(Int32, TValue)
Declaration
public void Insert(int index, TValue item)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
TValue |
item |
|
|
Improve this Doc
View Source
Remove(TKey)
Declaration
public bool Remove(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Remove(TValue)
Declaration
public bool Remove(TValue item)
Parameters
Type |
Name |
Description |
TValue |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
|
Improve this Doc
View Source
TrimExcess()
Declaration
|
Improve this Doc
View Source
TryGetValue(TKey, out TValue)
Declaration
public bool TryGetValue(TKey key, out TValue value)
Parameters
Type |
Name |
Description |
TKey |
key |
|
TValue |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue>)
Declaration
void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<TKey, TValue> |
keyValuePair |
|
|
Improve this Doc
View Source
ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue>)
Declaration
bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> keyValuePair)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<TKey, TValue> |
keyValuePair |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[], Int32)
Declaration
void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<TKey, TValue>[] |
array |
|
System.Int32 |
arrayIndex |
|
|
Improve this Doc
View Source
ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
Declaration
bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue>)
Declaration
bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<TKey, TValue> |
keyValuePair |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IDictionary<TKey, TValue>.Keys
Declaration
ICollection<TKey> IDictionary<TKey, TValue>.Keys { get; }
Returns
Type |
Description |
System.Collections.Generic.ICollection<TKey> |
|
|
Improve this Doc
View Source
IDictionary<TKey, TValue>.Values
Declaration
ICollection<TValue> IDictionary<TKey, TValue>.Values { get; }
Returns
Type |
Description |
System.Collections.Generic.ICollection<TValue> |
|
|
Improve this Doc
View Source
IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator()
Declaration
IEnumerator<KeyValuePair<TKey, TValue>> IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>> |
|
|
Improve this Doc
View Source
IEnumerable<TValue>.GetEnumerator()
Declaration
IEnumerator<TValue> IEnumerable<TValue>.GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<TValue> |
|
|
Improve this Doc
View Source
IReadOnlyDictionary<TKey, TValue>.Keys
Declaration
IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys { get; }
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<TKey> |
|
|
Improve this Doc
View Source
IReadOnlyDictionary<TKey, TValue>.Values
Declaration
IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values { get; }
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<TValue> |
|
|
Improve this Doc
View Source
ICollection.CopyTo(Array, Int32)
Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
Type |
Name |
Description |
System.Array |
array |
|
System.Int32 |
index |
|
|
Improve this Doc
View Source
ICollection.IsSynchronized
Declaration
bool ICollection.IsSynchronized { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ICollection.SyncRoot
Declaration
object ICollection.SyncRoot { get; }
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
IDictionary.Add(Object, Object)
Declaration
void IDictionary.Add(object key, object value)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
IDictionary.Contains(Object)
Declaration
bool IDictionary.Contains(object key)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IDictionary.GetEnumerator()
Declaration
IDictionaryEnumerator IDictionary.GetEnumerator()
Returns
Type |
Description |
System.Collections.IDictionaryEnumerator |
|
|
Improve this Doc
View Source
IDictionary.IsFixedSize
Declaration
bool IDictionary.IsFixedSize { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IDictionary.IsReadOnly
Declaration
bool IDictionary.IsReadOnly { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IDictionary.Item[Object]
Declaration
object IDictionary.this[object key] { get; set; }
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
IDictionary.Keys
Declaration
ICollection IDictionary.Keys { get; }
Returns
Type |
Description |
System.Collections.ICollection |
|
|
Improve this Doc
View Source
IDictionary.Remove(Object)
Declaration
void IDictionary.Remove(object key)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
|
Improve this Doc
View Source
IDictionary.Values
Declaration
ICollection IDictionary.Values { get; }
Returns
Type |
Description |
System.Collections.ICollection |
|
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable