예제 #1
0
 public override Nothing Visit(ISubtotalUser sub)
 {
     ShowSubtotal(sub, $"U{sub.User.AsUser()}");
     return(Nothing.AtAll);
 }
예제 #2
0
 public override IAsyncEnumerable <string> Visit(ISubtotalUser sub)
 {
     Depth++; // Hack
     return(ShowSubtotal(sub));
 }
 public abstract Nothing Visit(ISubtotalUser sub);
예제 #4
0
 public override Nothing Visit(ISubtotalUser sub)
 {
     Depth++; // Hack
     ShowSubtotal(sub);
     return(Nothing.AtAll);
 }
예제 #5
0
 JProperty ISubtotalVisitor <JProperty> .Visit(ISubtotalUser sub)
 => new JProperty(sub.User, VisitChildren(sub));
 public abstract IAsyncEnumerable <string> Visit(ISubtotalUser sub);