Class MARSDataProvider<T>
Inheritance
MARSDataProvider<T>
Syntax
public class MARSDataProvider<T> : object
Type Parameters
Constructors
MARSDataProvider()
Declaration
public MARSDataProvider()
Properties
Count
Declaration
public int Count { get; }
Property Value
Methods
AddData(T)
Declaration
public int AddData(T data)
Parameters
Type |
Name |
Description |
T |
data |
|
Returns
Clear()
Declaration
GetCollection()
Declaration
public ICollection<KeyValuePair<int, T>> GetCollection()
Returns
Type |
Description |
ICollection<KeyValuePair<Int32, T>> |
|
GetIdValue(Int32)
Declaration
public T GetIdValue(int dataId)
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
Returns
RemoveData(Int32)
Declaration
public bool RemoveData(int dataId)
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
Returns
Unload()
Declaration
UpdateData(Int32, T)
Declaration
public bool UpdateData(int dataId, T value)
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
T |
value |
|
Returns