Exemplo n.º 1
0
 public override RequiresPlain VisitRequiresPlain(RequiresPlain plain)
 {
   if (plain == null) return null;
   return base.VisitRequiresPlain((RequiresPlain)plain.Clone());
 }
Exemplo n.º 2
0
    public override RequiresPlain VisitRequiresPlain(RequiresPlain plain)
    {
      if (plain == null) return null;
      var dup = (RequiresPlain)this.DuplicateFor[plain.UniqueKey];
      if (dup != null) return dup;
      this.DuplicateFor[plain.UniqueKey] = dup = (RequiresPlain)plain.Clone();

      var result = base.VisitRequiresPlain(dup);
      return result;
    }