public double Accept(IVisitor visitor) { return(visitor.Visit(this)); }
public abstract void Accept(IVisitor visitor);
public void Accept(IVisitor visitor) { visitor.Visit(this); }
public override void Aceitar(IVisitor impressora) { impressora.VisitaSubtracao(this); }
public override void Accept(IVisitor visitor) { visitor.Visit(this); }
public void Accept(IVisitor visitor) { visitor.VisitCompanyAc(this); }
public Client(ICollection <IVisitorComponent> components, IVisitor visitor) { this.components = components; this.visitor = visitor; }
/// <summary> /// Accept method /// </summary> /// <param name="visitor"></param> /// <returns></returns> public override int Accept(IVisitor visitor) { return(visitor.Visit(this)); }
public void Accept(IVisitor visitor) { visitor.VisitPersonAcc(this); }
public virtual void AcceptVisitorTextMessage(IVisitor visitor, string number, string text) { }
/// <summary> /// Accept method /// </summary> /// <param name="visitor"></param> /// <returns></returns> public virtual int Accept(IVisitor visitor) { return(visitor.Visit(this)); }
public virtual void AcceptVisitorCall(IVisitor visitor, string number) { }
public void Aceitar(IVisitor impressora) { impressora.VisitaNumero(this); }
public void AceiteVisitor(IVisitor visitor) { visitor.Visite(this); }
// То же самое здесь: VisitConcreteComponentB => ConcreteComponentB public void Accept(IVisitor visitor) { visitor.VisitConcreteComponentB(this); }
public string Accept(IVisitor visitor) { return(visitor.Vist(this)); }