public void Accept(VisitorBase visitor) { foreach (ElementBase element in _elements) { element.Accept(visitor); } }
public override void Accept(VisitorBase visitor) { visitor.Visit(this); foreach (var item in Subordinates) { item.Accept(visitor); } }
public override void Accept(VisitorBase visitor) { visitor.Visit(this); foreach (var employee in Subordinates) //bütün alt çalışanları gezmesi için { employee.Accept(visitor); } }
public override void Accept(VisitorBase visitor) { visitor.Visit(this); foreach (var employee in Subordinates) { employee.Accept(visitor); } }
public override void Accept(VisitorBase visitor) { visitor.Visit(this); foreach (EmployeeBase subordinate in Subordinates) { subordinate.Accept(visitor); } }
public override void Accept(VisitorBase visitor) { visitor.Visit(this); foreach (var subordinate in subordinates) { subordinate.Accept(visitor); } }
public override void Accept(VisitorBase visitor) { visitor.Visit(this); }
public abstract void Accept(VisitorBase visitor);
public void Accept(VisitorBase visitor) { _employee.Accept(visitor); }
public void Accept(VisitorBase visitorBase) { calisanlar.Accept(visitorBase); }
public void Accept(VisitorBase visitor) //temel method { Employee.Accept(visitor); }