Class GenericMARSDataCollection<T>
Inheritance
GenericMARSDataCollection<T>
Syntax
public class GenericMARSDataCollection<T>
Type Parameters
Constructors
GenericMARSDataCollection()
Declaration
public GenericMARSDataCollection()
Properties
collection
Declaration
public ReadOnlyDictionary<int, T> collection { get; }
Property Value
Type |
Description |
ReadOnlyDictionary<Int32, T> |
|
Item[Int32]
Declaration
public T this[int dataId] { get; }
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
Property Value
Methods
Add(T)
Declaration
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Clear()
Declaration
GetEnumerator()
Declaration
public Dictionary<int, T>.Enumerator GetEnumerator()
Returns
Remove(Int32)
Declaration
public bool Remove(int dataId)
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
Returns
TryGetValue(Int32, out T)
Declaration
public bool TryGetValue(int dataId, out T value)
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
T |
value |
|
Returns
TryUpdate(Int32, T)
Declaration
public bool TryUpdate(int dataId, T value)
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
T |
value |
|
Returns
Operators
Implicit(GenericMARSDataCollection<T> to Dictionary<Int32, T>)
Declaration
public static implicit operator Dictionary<int, T>(GenericMARSDataCollection<T> collection)
Parameters
Returns