示例#1
0
 public override IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(PXOverridesCategoryNodeViewModel pxOverridesCategory,
                                                                           bool expandChildren, CancellationToken cancellation)
 {
     return(CreateGraphCategoryChildren <PXOverrideInfoForCodeMap>(pxOverridesCategory, expandChildren,
                                                                   constructor: pxOverrideInfo => new PXOverrideNodeViewModel(pxOverridesCategory, pxOverrideInfo),
                                                                   cancellation));
 }
 public PXOverrideNodeViewModel(PXOverridesCategoryNodeViewModel pxOverridesCategoryVM,
                                PXOverrideInfoForCodeMap pxOverrideInfo, bool isExpanded = false) :
     base(pxOverridesCategoryVM, pxOverrideInfo, isExpanded)
 {
 }
 public virtual TResult VisitNode(PXOverridesCategoryNodeViewModel pxOverridesCategory) => DefaultVisit(pxOverridesCategory);
 public virtual TResult VisitNode(PXOverridesCategoryNodeViewModel pxOverridesCategory, TInput input) => DefaultVisit(pxOverridesCategory, input);
 public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(PXOverridesCategoryNodeViewModel pxOverridesCategory, bool expandChildren,
                                                                          CancellationToken cancellation) =>
 Enumerable.Empty <TreeNodeViewModel>();