Class IUsesMARSDataGenericMethods
Inheritance
IUsesMARSDataGenericMethods
Syntax
public static class IUsesMARSDataGenericMethods : object
Methods
AddData<T>(IUsesMARSData<T>, T)
Declaration
public static int AddData<T>(this IUsesMARSData<T> obj, T value)
Parameters
Returns
Type Parameters
GetCollection<T>(IUsesMARSData<T>)
Declaration
public static ICollection<KeyValuePair<int, T>> GetCollection<T>(this IUsesMARSData<T> obj)
Parameters
Returns
Type |
Description |
ICollection<KeyValuePair<Int32, T>> |
|
Type Parameters
GetIdValue<T>(IUsesMARSData<T>, Int32)
Declaration
public static T GetIdValue<T>(this IUsesMARSData<T> obj, int dataId)
Parameters
Returns
Type Parameters
RemoveData<T>(IUsesMARSData<T>, Int32)
Declaration
public static bool RemoveData<T>(this IUsesMARSData<T> obj, int dataId)
Parameters
Returns
Type Parameters
UpdateData<T>(IUsesMARSData<T>, Int32, T)
Declaration
public static bool UpdateData<T>(this IUsesMARSData<T> obj, int dataId, T value)
Parameters
Returns
Type Parameters