Пример #1
0
 public override IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(DacKeysCategoryNodeViewModel dacKeysCategory,
                                                                           bool expandChildren, CancellationToken cancellation)
 {
     dacKeysCategory.ThrowOnNull(nameof(dacKeysCategory));
     return(CreateDacMemberCategoryChildren <DacPropertyInfo>(dacKeysCategory,
                                                              propertyInfo => new PropertyNodeViewModel(dacKeysCategory, propertyInfo, expandChildren),
                                                              cancellation));
 }
Пример #2
0
 public virtual void VisitNode(DacKeysCategoryNodeViewModel dacKeysCategory) => DefaultVisit(dacKeysCategory);
 public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(DacKeysCategoryNodeViewModel dacKeysCategory,
                                                                          bool expandChildren, CancellationToken cancellation) =>
 Enumerable.Empty <TreeNodeViewModel>();
 public virtual TResult VisitNode(DacKeysCategoryNodeViewModel dacKeysCategory, TInput input) => DefaultVisit(dacKeysCategory, input);