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));
        }
예제 #2
0
파일: Scalar.cs 프로젝트: radtek/Gradual
 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));
 }