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); }
public virtual TResult VisitNode(AttributeNodeViewModel attributeNode, TInput input) => DefaultVisit(attributeNode, input);
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; }
public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(AttributeNodeViewModel attributeNode, bool expandChildren, CancellationToken cancellation) => Enumerable.Empty <TreeNodeViewModel>();
public virtual TResult VisitNode(AttributeNodeViewModel attributeNode) => DefaultVisit(attributeNode);