Example #1
0
 public override Nothing Visit(ISubtotalSubTitle sub)
 {
     ShowSubtotal(
         sub,
         $"{sub.SubTitle.AsSubTitle()} {TitleManager.GetTitleName(m_Title, sub.SubTitle)}");
     return(Nothing.AtAll);
 }
Example #2
0
        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);
        }
Example #3
0
    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);
Example #5
0
 JProperty ISubtotalVisitor <JProperty> .Visit(ISubtotalSubTitle sub)
 => new JProperty(sub.SubTitle.AsSubTitle(), VisitChildren(sub));
 public abstract IAsyncEnumerable <string> Visit(ISubtotalSubTitle sub);