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));
        }
Exemple #2
0
 public StringQualifiers(int length = 0,
                         AllowedLengthEnum allowedLength = AllowedLengthEnum.Variable)
 {
     Length        = length;
     AllowedLength = allowedLength;
 }
Exemple #3
0
 public BinaryDataQualifiers(int length = 0,
                             AllowedLengthEnum allowedLength = AllowedLengthEnum.Variable)
 {
     Length        = length;
     AllowedLength = allowedLength;
 }