Example #1
0
 public double Accept(IVisitor visitor)
 {
     return(visitor.Visit(this));
 }
Example #2
0
 public abstract void Accept(IVisitor visitor);
Example #3
0
 public void Accept(IVisitor visitor)
 {
     visitor.Visit(this);
 }
Example #4
0
 public override void Aceitar(IVisitor impressora)
 {
     impressora.VisitaSubtracao(this);
 }
Example #5
0
 public override void Accept(IVisitor visitor)
 {
     visitor.Visit(this);
 }
Example #6
0
 public void Accept(IVisitor visitor)
 {
     visitor.VisitCompanyAc(this);
 }
Example #7
0
 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));
 }
Example #9
0
 public void Accept(IVisitor visitor)
 {
     visitor.VisitPersonAcc(this);
 }
Example #10
0
 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));
 }
Example #12
0
 public virtual void AcceptVisitorCall(IVisitor visitor, string number)
 {
 }
Example #13
0
 public void Aceitar(IVisitor impressora)
 {
     impressora.VisitaNumero(this);
 }
 public void AceiteVisitor(IVisitor visitor)
 {
     visitor.Visite(this);
 }
Example #15
0
 // То же самое здесь: VisitConcreteComponentB => ConcreteComponentB
 public void Accept(IVisitor visitor)
 {
     visitor.VisitConcreteComponentB(this);
 }
Example #16
0
 public string Accept(IVisitor visitor)
 {
     return(visitor.Vist(this));
 }