Ejemplo n.º 1
0
 public override IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(CacheAttachedCategoryNodeViewModel cacheAttachedCategory,
                                                                           bool expandChildren, CancellationToken cancellation)
 {
     return(CreateEventsCategoryChildren <GraphFieldEventInfo>(cacheAttachedCategory,
                                                               (eventCategory, dacName, fieldEvents, isExpanded) => new DacGroupingNodeForCacheAttachedEventViewModel(eventCategory, dacName, fieldEvents, isExpanded),
                                                               expandChildren, cancellation));
 }
 public virtual TResult VisitNode(CacheAttachedCategoryNodeViewModel cacheAttachedCategory) => DefaultVisit(cacheAttachedCategory);
 public virtual TResult VisitNode(CacheAttachedCategoryNodeViewModel cacheAttachedCategory, TInput input) => DefaultVisit(cacheAttachedCategory, input);
 public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(CacheAttachedCategoryNodeViewModel cacheAttachedCategory, bool expandChildren,
                                                                          CancellationToken cancellation) =>
 Enumerable.Empty <TreeNodeViewModel>();