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) { employee.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 subordinate in subordinates) { subordinate.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); }