Class IRequiresTraitsMethods
Inheritance
IRequiresTraitsMethods
Syntax
public static class IRequiresTraitsMethods : object
Fields
StaticRequiredTraitsBindingFlags
Declaration
public const BindingFlags StaticRequiredTraitsBindingFlags = null
Field Value
Type |
Description |
BindingFlags |
|
StaticRequiredTraitsFieldName
Declaration
public const string StaticRequiredTraitsFieldName = null
Field Value
Methods
ForEachContextIdWithTrait<T>(IRequiresTraits<T>, String, Action<Int32>)
Declaration
public static void ForEachContextIdWithTrait<T>(this IRequiresTraits<T> obj, string traitName, Action<int> forEach)
Parameters
Type Parameters
TryGetAllTraitsWithSemanticTag<T>(IRequiresTraits<T>, String, String, out Dictionary<Int32, T>)
Declaration
public static bool TryGetAllTraitsWithSemanticTag<T>(this IRequiresTraits<T> obj, string traitName, string tag, out Dictionary<int, T> values)
Parameters
Returns
Type Parameters
TryGetTraitValue<T>(IRequiresTraits<T>, Int32, String, out T)
Declaration
public static bool TryGetTraitValue<T>(this IRequiresTraits<T> obj, int dataID, string traitName, out T value)
Parameters
Returns
Type Parameters