コード例 #1
0
 public virtual TResult VisitNode(CacheAttachedNodeViewModel cacheAttachedNode) => DefaultVisit(cacheAttachedNode);
コード例 #2
0
 public override IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(CacheAttachedNodeViewModel cacheAttachedNode, bool expandChildren,
                                                                           CancellationToken cancellation)
 {
     return(cacheAttachedNode?.MemberSymbol.GetAttributes()
            .Select(a => new AttributeNodeViewModel(cacheAttachedNode, a)));
 }
コード例 #3
0
 public virtual TResult VisitNode(CacheAttachedNodeViewModel cacheAttachedNode, TInput input) => DefaultVisit(cacheAttachedNode, input);
コード例 #4
0
 public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(CacheAttachedNodeViewModel cacheAttachedNode, bool expandChildren,
                                                                          CancellationToken cancellation) =>
 Enumerable.Empty <TreeNodeViewModel>();