Click or drag to resize
IHierarchyXTCopyNodesAndGetStatus Method (IHierarchyT, ListT, ListT, HierarchyStatusCode)
Copies the nodes from the input list to the output list and gets the status of the list of nodes. Use this method for validating lists of nodes of a certain type (e.g., mandatory vs. optional).

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static int CopyNodesAndGetStatus(
	IHierarchy<T> hierarchy,
	List<T> inNodes,
	ref List<T> outNodes,
	HierarchyStatusCode nullCode
)

Parameters

hierarchy
Type: CandlelightIHierarchyT
Hierarchy.
inNodes
Type: System.Collections.GenericListT
The list of nodes to validate (e.g., a backing field).
outNodes
Type: System.Collections.GenericListT
A list into which the nodes will be copied.
nullCode
Type: CandlelightHierarchyStatusCode
The code to use if an input node is (e.g., MissingOptionalNode or MissingRequiredNode).

Return Value

Type: Int32
The status of the list of nodes.
See Also