public override bool ShouldConvert(Field field) { if (!field.GetType().Equals(typeof(Scalar))) { return(false); } Type type = ((Scalar)field).Type; return(type.Equals(Type.BYTE_VECTOR) || type.Equals(Type.UNICODE)); }
internal bool Equals(Scalar other) { return(name.Equals(other.name) && type.Equals(other.type) && typeCodec.Equals(other.typeCodec) && operator_Renamed.Equals(other.operator_Renamed) && operatorCodec.Equals(other.operatorCodec) && initialValue.Equals(other.initialValue) && dictionary.Equals(other.dictionary)); }