/// <summary> /// Parses a length with the given format immediately before the string. /// </summary> public StringLengthSourceAttribute(SchemaIntegerType lengthType) { this.Method = StringLengthSourceType.IMMEDIATE_VALUE; this.LengthType = lengthType; }
public IfBooleanAttribute(SchemaIntegerType lengthType) { this.Method = IfBooleanSourceType.IMMEDIATE_VALUE; this.BooleanType = lengthType; }
/// <summary> /// Parses an integer length with the given format immediately before the array. /// </summary> public ArrayLengthSourceAttribute(SchemaIntegerType lengthType) { this.Method = SequenceLengthSourceType.IMMEDIATE_VALUE; this.LengthType = lengthType; }
public IntegerFormatAttribute(SchemaIntegerType integerType) { this.IntegerType = integerType; }