Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Field"/> class with required properties.
 /// </summary>
 /// <param name="name">Name of the field</param>
 /// <param name="@type">Type of the field</param>
 public Field(string name, FieldTypes @type)
 {
     this.Name  = name;
     this.Type  = @type;
     this.Value = null;
 }
Esempio n. 2
0
 protected bool Equals(FieldTypes other)
 {
     return(string.Equals(v, other.v, StringComparison.OrdinalIgnoreCase));
 }