Example #1
0
 public bool this[CarState s]
 {
     get
     {
         return((bool)s.accept(this));
     }
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="s"></param>
 /// <returns></returns>
 public CarState this[CarState s]
 {
     get
     {
         return((CarState)s.accept(this));
     }
 }