public virtual TResult VisitNode(CacheAttachedNodeViewModel cacheAttachedNode) => DefaultVisit(cacheAttachedNode);
Ejemplo n.º 2
0
 public override IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(CacheAttachedNodeViewModel cacheAttachedNode, bool expandChildren,
                                                                           CancellationToken cancellation)
 {
     return(cacheAttachedNode?.MemberSymbol.GetAttributes()
            .Select(a => new AttributeNodeViewModel(cacheAttachedNode, a)));
 }
 public virtual TResult VisitNode(CacheAttachedNodeViewModel cacheAttachedNode, TInput input) => DefaultVisit(cacheAttachedNode, input);
 public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(CacheAttachedNodeViewModel cacheAttachedNode, bool expandChildren,
                                                                          CancellationToken cancellation) =>
 Enumerable.Empty <TreeNodeViewModel>();