public override decimal Accept(IItemVisitor visitor) => Math.Round(visitor.Visit(this), 2);
//public override string GetView(IViewer viewer) //{ // return viewer.View(this); //} public override string AcceptViewVisitor(IItemVisitor visitor) { return(visitor.Visit(this)); }
public virtual void Accept(IItemVisitor visitor) => visitor.Visit((dynamic)this);
//public virtual string GetView(IViewer viewer) //{ // return "base"; //} public virtual string AcceptViewVisitor(IItemVisitor visitor) { return(visitor.Visit(this)); }