public RankedIterator(ConcreteAggregate agg)
 {
     this.agg = agg;
 }
예제 #2
0
 public EastIterator(ConcreteAggregate agg)
 {
     this.agg = agg;
 }
 public ConcreteIterator(ConcreteAggregate GuestList)
 {
     this.guestList = GuestList;
 }
예제 #4
0
 /// <summary>
 /// 初始化对象将具体聚集类传入
 /// </summary>
 /// <param name="aggregate"></param>
 public ConcreteIterator(ConcreteAggregate aggregate)
 {
     this.aggregate = aggregate;
 }
예제 #5
0
 public ConcreteIterator(ConcreteAggregate list)
 {
     _list  = list;
     _index = 0;
 }
예제 #6
0
 public ConcreteIterator(ConcreteAggregate concreteAggregate)
 {
     ConcreteAggregate = concreteAggregate;
     Index             = 0;
 }