Esempio n. 1
0
 public SchemaComplexType([CanBeNull] SchemaTypeBase baseType,
                          [NotNull] string name,
                          [NotNull] List <SchemaComplexTypeItem> children,
                          [NotNull] List <SchemaComplexTypeAttribute> attributes,
                          [CanBeNull] string[] description)
     : base(baseType, name, description)
 {
     Children   = children;
     Attributes = attributes;
 }
Esempio n. 2
0
 public SchemaComplexTypeElementItem([NotNull] string name,
                                     [CanBeNull] SchemaTypeBase type,
                                     int minOccurs,
                                     int?maxOccurs,  // null means unbounded
                                     [CanBeNull] string fixedValue)
     : base(minOccurs, maxOccurs)
 {
     Name       = name;
     Type       = type;
     FixedValue = fixedValue;
 }
Esempio n. 3
0
 protected SchemaTypeBase([CanBeNull] SchemaTypeBase baseType, [NotNull] string name, [CanBeNull] string[] description)
 {
     BaseType    = baseType;
     Name        = name;
     Description = description;
 }
Esempio n. 4
0
 public SchemaSimpleType([CanBeNull] SchemaTypeBase baseType, [NotNull] string name,
                         [CanBeNull] SchemaSimpleTypeRestriction restriction, [CanBeNull] string[] description)
     : base(baseType, name, description)
 {
     Restriction = restriction;
 }