public override BaseField Clone() { BooleanField field = new BooleanField(); field.FieldName = FieldName; field.Value = Value; return(field); }
public override bool Equals(object other) { if (other is bool) { bool field = (bool)other; return(this.Value.Equals(field)); } else if (other is BooleanField) { BooleanField field = (BooleanField)other; return(this.Value.Equals(field.Value)); } return(false); }