Add Method
Definition
- Namespace
- Cuemon.Extensions.Runtime
- Assemblies
- Cuemon.Extensions.Core.dll
Add(T)
Adds the specified instance to a node in the hierarchical structure representation.
IHierarchy<T> Add(T instance)
Parameters
instanceTThe instance to a node in the hierarchical structure represents.
Returns
- IHierarchy<T>
A reference to the newly added hierarchical node.
Add(T, MemberInfo)
Adds the specified instance to a node in the hierarchical structure representation.
IHierarchy<T> Add(T instance, MemberInfo member)
Parameters
instanceTThe instance to a node in the hierarchical structure represents.
memberMemberInfoThe member from where
instancewas referenced.
Returns
- IHierarchy<T>
A reference to the newly added hierarchical node.