示例#1
0
        public static TypeDescription StringType(int length = 0,
                                                 AllowedLengthEnum allowedLength = AllowedLengthEnum.Variable)
        {
            var stringQualifier = new StringQualifiers(length, allowedLength);

            return(new TypeDescription(new TypeTypeValue[] { TypeString() }, null, stringQualifier));
        }
示例#2
0
 public StringQualifiers(int length = 0,
                         AllowedLengthEnum allowedLength = AllowedLengthEnum.Variable)
 {
     Length        = length;
     AllowedLength = allowedLength;
 }
示例#3
0
 public BinaryDataQualifiers(int length = 0,
                             AllowedLengthEnum allowedLength = AllowedLengthEnum.Variable)
 {
     Length        = length;
     AllowedLength = allowedLength;
 }