Class IProvidesTraitsMethods
Inheritance
IProvidesTraitsMethods
Syntax
public static class IProvidesTraitsMethods
Fields
StaticProvidedTraitsBindingFlags
Declaration
public const BindingFlags StaticProvidedTraitsBindingFlags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy
Field Value
StaticProvidedTraitsFieldName
Declaration
public const string StaticProvidedTraitsFieldName = "k_ProvidedTraits"
Field Value
Methods
AddOrUpdateTrait<T>(IProvidesTraits<T>, Int32, String, T)
Declaration
public static void AddOrUpdateTrait<T>(this IProvidesTraits<T> obj, int dataID, string traitName, T value)
Parameters
Type Parameters
RemoveTrait<T>(IProvidesTraits<T>, Int32, String)
Declaration
public static bool RemoveTrait<T>(this IProvidesTraits<T> obj, int dataID, string traitName)
Parameters
Returns
Type Parameters