예제 #1
0
 public override RequiresOtherwise VisitRequiresOtherwise(RequiresOtherwise otherwise)
 {
   if (otherwise == null) return null;
   return base.VisitRequiresOtherwise((RequiresOtherwise)otherwise.Clone());
 }
예제 #2
0
 public override RequiresOtherwise VisitRequiresOtherwise(RequiresOtherwise otherwise)
 {
   if (otherwise == null) return null;
   RequiresOtherwise dup = (RequiresOtherwise)this.DuplicateFor[otherwise.UniqueKey];
   if (dup != null) return dup;
   this.DuplicateFor[otherwise.UniqueKey] = dup = (RequiresOtherwise)otherwise.Clone();
   return base.VisitRequiresOtherwise(dup);
 }