public override IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(PropertyNodeViewModel property, bool expandChildren, CancellationToken cancellation) { property.ThrowOnNull(nameof(property)); return(property.PropertyInfo.Attributes.Select(a => new AttributeNodeViewModel(property, a.AttributeData, expandChildren))); }
public virtual void VisitNode(PropertyNodeViewModel property) => DefaultVisit(property);
public virtual IEnumerable <TreeNodeViewModel> VisitNodeAndBuildChildren(PropertyNodeViewModel property, bool expandChildren, CancellationToken cancellation) => Enumerable.Empty <TreeNodeViewModel>();
public virtual TResult VisitNode(PropertyNodeViewModel property, TInput input) => DefaultVisit(property, input);