Esempio n. 1
0
 public object this[string lookup]
 {
     get
     {
         return(Values[lookup]);
     }
     set
     {
         FieldDefinition field       = FieldDefinitions.Single(f => f.Name == lookup);
         string          valueString = value.ToString();
         if (valueString.Length > field.Length)
         {
             valueString = valueString.Substring(0, field.Length);
         }
         AssignField(field, valueString);
     }
 }