/// <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; }
protected bool Equals(FieldTypes other) { return(string.Equals(v, other.v, StringComparison.OrdinalIgnoreCase)); }