Пример #1
0
 public override void Accept(VisitorBase visitor)
 {
     visitor.Visit(this);
     foreach (var item in Subordinates)
     {
         item.Accept(visitor);
     }
 }
Пример #2
0
 public override void Accept(VisitorBase visitor)
 {
     visitor.Visit(this);
     foreach (var employee in Subordinates)
     {
         employee.Accept(visitor);
     }
 }
Пример #3
0
 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);
     }
 }
Пример #4
0
        public override void Accept(VisitorBase visitor)
        {
            visitor.Visit(this);

            foreach (var subordinate in subordinates)
            {
                subordinate.Accept(visitor);
            }
        }
Пример #5
0
        public override void Accept(VisitorBase visitor)
        {
            visitor.Visit(this);

            foreach (EmployeeBase subordinate in Subordinates)
            {
                subordinate.Accept(visitor);
            }
        }
Пример #6
0
 public override void Accept(VisitorBase visitor)
 {
     visitor.Visit(this);
 }
Пример #7
0
 public override void Accept(VisitorBase visitor)
 {
     visitor.Visit(this);
 }