ItemTreeNodeTNode, TItemMapCopyToTDestNode(TDestNode, FuncTNode, TItem, NullableInt32) Method

Deep copy this to destination node type starting at destination parent; uses an item mapping function.

Definition

Namespace: MobileTrack.Common.Models.TreeViews.ItemTree
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public void MapCopyTo<TDestNode>(
	TDestNode destParent,
	Func<TNode, TItem> mapToDestItem,
	int? maxRelativeDepth = null
)
where TDestNode : ItemTreeNode<TDestNode, TItem>

Parameters

destParent  TDestNode
Parent/root destination node
mapToDestItem  FuncTNode, TItem
Map source node to destination item
maxRelativeDepth  NullableInt32  (Optional)
Max depth of traversal (relative to this node)

Type Parameters

TDestNode
Destination node type

See Also