Click or drag to resize
IHierarchyXTCopyNodesAndGetStatusTNode Method (ListTNode, ListTNode, 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<TNode>(
	List<TNode> inNodes,
	ref List<TNode> outNodes,
	HierarchyStatusCode nullCode
)
where TNode : 

Parameters

inNodes
Type: System.Collections.GenericListTNode
The list of nodes to validate (e.g., a backing field).
outNodes
Type: System.Collections.GenericListTNode
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).

Type Parameters

TNode
The type of nodes in the lists (which must descend from the hierarchy type).

Return Value

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