 | BackingFieldUtilityGetKeyedListBackingFieldAsDictT, TId, TData Method |
Gets the keyed list backing field as a dictionary.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static void GetKeyedListBackingFieldAsDict<T, TId, TData>(
List<T> backingField,
ref Dictionary<TId, TData> result,
Func<T, TData> getData
)
where T : Object, IIdentifiable<TId>
Parameters
- backingField
- Type: System.Collections.GenericListT
Backing field of identifiable objects. - result
- Type: System.Collections.GenericDictionaryTId, TData
Result. - getData
- Type: SystemFuncT, TData
Method to get the data of interest from the identifiable object.
Type Parameters
- T
- An identifiable backing field compatible object wrapper type.
- TId
- The identifier type.
- TData
- The data type.
See Also