Пример #1
0
 /// <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;
 }
Пример #2
0
 public IfBooleanAttribute(SchemaIntegerType lengthType)
 {
     this.Method      = IfBooleanSourceType.IMMEDIATE_VALUE;
     this.BooleanType = lengthType;
 }
Пример #3
0
 /// <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;
 }
Пример #4
0
 public IntegerFormatAttribute(SchemaIntegerType integerType)
 {
     this.IntegerType = integerType;
 }