Ejemplo n.º 1
0
 /// <summary>
 /// Returns a clone of this instance.
 /// </summary>
 /// <returns>Cloned copy of this instance.</returns>
 public Field Clone()
 {
     return(new Field
     {
         AllowNotFoundValid = AllowNotFoundValid,
         DependentField = DependentField,
         DependentValues = DependentValues.ToList(),
         DynamicLength = DynamicLength,
         ExclusiveDependency = ExclusiveDependency,
         Length = Length,
         Name = Name,
         OptionValues = OptionValues.ToList(),
         ParseUntil = ParseUntil,
         RejectionCode = RejectionCode,
         Repetitions = Repetitions,
         Skip = Skip,
         SkipUntil = SkipUntil,
         StaticRepetitions = StaticRepetitions,
         Type = Type,
         ValidValues = ValidValues.ToList()
     });
 }