Class LimitedPath
Represents a path of items that may appear in a navigation node hierarchy.
Inheritance
System.Object
LimitedPath
Namespace: Algenta.Colectica.ViewModel.Navigator.Modes
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class LimitedPath : object
Constructors
LimitedPath(Guid, Guid, Func<Node, Collection<Node>>)
Initializes a new instance of the LimitedPath class.
Declaration
public LimitedPath(Guid parentType, Guid targetType, Func<Node, Collection<Node>> getChildren)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentType | Type of the parent node. |
Guid | targetType | Type of the node that may appear under the parent node. |
Func<Node, Collection<Node>> | getChildren | The function used to get children for the specified node. |
Properties
GetChildren
Gets or sets a function that is used to get children of the specified node.
Declaration
public Func<Node, Collection<Node>> GetChildren { get; set; }
Property Value
Type | Description |
---|---|
Func<Node, Collection<Node>> |
ParentType
Gets or sets the type of the parent node.
Declaration
public Guid ParentType { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TargetType
Gets or sets the type of a node that may appear under the ParentNode
.
Declaration
public Guid TargetType { get; set; }
Property Value
Type | Description |
---|---|
Guid |