Class MARSTraitMultiCollection<T>
Inheritance
MARSTraitMultiCollection<T>
Syntax
public class MARSTraitMultiCollection<T>
Type Parameters
Methods
AddOrUpdateTrait(Int32, String, T)
Declaration
public void AddOrUpdateTrait(int dataID, string traitName, T value)
Parameters
Type |
Name |
Description |
Int32 |
dataID |
|
String |
traitName |
|
T |
value |
|
Clear()
Declaration
RemoveTraitById(Int32, String)
Declaration
public bool RemoveTraitById(int dataID, string traitName)
Parameters
Returns
TryGetTraitById(Int32, String, out T)
Declaration
public bool TryGetTraitById(int dataID, string traitName, out T value)
Parameters
Type |
Name |
Description |
Int32 |
dataID |
|
String |
traitName |
|
T |
value |
|
Returns
TryGetValue(String, out Dictionary<Int32, T>)
Declaration
public bool TryGetValue(string traitName, out Dictionary<int, T> traits)
Parameters
Returns