public override Nothing Visit(ISubtotalSubTitle sub) { ShowSubtotal( sub, $"{sub.SubTitle.AsSubTitle()} {TitleManager.GetTitleName(m_Title, sub.SubTitle)}"); return(Nothing.AtAll); }
public override Nothing Visit(ISubtotalSubTitle sub) { var prev = m_Path; m_Path = Composite.Merge(m_Path, TitleManager.GetTitleName(m_Title, sub.SubTitle)); ShowSubtotal(sub); m_Path = prev; return(Nothing.AtAll); }
public override IAsyncEnumerable <string> Visit(ISubtotalSubTitle sub) { var prev = m_Path; m_Path = Composite.Merge(m_Path, TitleManager.GetTitleName(m_Title, sub.SubTitle)); var s = ShowSubtotal(sub); m_Path = prev; return(s); }
public abstract Nothing Visit(ISubtotalSubTitle sub);
JProperty ISubtotalVisitor <JProperty> .Visit(ISubtotalSubTitle sub) => new JProperty(sub.SubTitle.AsSubTitle(), VisitChildren(sub));
public abstract IAsyncEnumerable <string> Visit(ISubtotalSubTitle sub);