protected bool Equals(FieldTypes other)
 {
     return(string.Equals(_v, other._v, StringComparison.OrdinalIgnoreCase));
 }
Exemple #2
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)
 {
     Name  = name;
     Type  = @type;
     Value = null;
 }