public virtual TResult VisitNode(ActionCategoryNodeViewModel actionCategory) => DefaultVisit(actionCategory);
 public virtual TResult VisitNode(ActionCategoryNodeViewModel actionCategory, TInput input) => DefaultVisit(actionCategory, input);
 public ActionNodeViewModel(ActionCategoryNodeViewModel actionCategoryVM, ActionInfo actionInfo, bool isExpanded = false) :
     base(actionCategoryVM, actionCategoryVM, actionInfo, isExpanded)
 {
 }
Exemple #4
0
 public override IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(ActionCategoryNodeViewModel actionCategory, bool expandChildren,
                                                                           CancellationToken cancellation)
 {
     return(CreateGraphCategoryChildren <ActionInfo>(actionCategory, expandChildren, constructor: actionInfo => new ActionNodeViewModel(actionCategory, actionInfo),
                                                     cancellation));
 }
 public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(ActionCategoryNodeViewModel actionCategory, bool expandChildren,
                                                                          CancellationToken cancellation) =>
 Enumerable.Empty <TreeNodeViewModel>();