public override List <TreeNodeViewModel> VisitNode(AttributeNodeViewModel attributeNode, IEnumerable <TreeNodeViewModel> generatedChildren)
 {
     //Optimization for attributes - don't put more on execution stack by visiting them
     attributeNode.ChildrenSortType      = SortType;
     attributeNode.ChildrenSortDirection = SortDirection;
     return(DefaultValue);
 }
Exemplo n.º 2
0
 public virtual TResult VisitNode(AttributeNodeViewModel attributeNode, TInput input) => DefaultVisit(attributeNode, input);
Exemplo n.º 3
0
 public override void VisitNode(AttributeNodeViewModel attributeNode)
 {
     //Optimization for attributes - don't put more on execution stack by visiting them
     attributeNode.ChildrenSortType      = SortContext.SortType;
     attributeNode.ChildrenSortDirection = SortContext.SortDirection;
 }
Exemplo n.º 4
0
 public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(AttributeNodeViewModel attributeNode, bool expandChildren,
                                                                          CancellationToken cancellation) =>
 Enumerable.Empty <TreeNodeViewModel>();
Exemplo n.º 5
0
 public virtual TResult VisitNode(AttributeNodeViewModel attributeNode) => DefaultVisit(attributeNode);