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;
 }
Exemple #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;
 }
Exemple #3
0
 protected SchemaTypeBase([CanBeNull] SchemaTypeBase baseType, [NotNull] string name, [CanBeNull] string[] description)
 {
     BaseType    = baseType;
     Name        = name;
     Description = description;
 }
 public SchemaSimpleType([CanBeNull] SchemaTypeBase baseType, [NotNull] string name,
                         [CanBeNull] SchemaSimpleTypeRestriction restriction, [CanBeNull] string[] description)
     : base(baseType, name, description)
 {
     Restriction = restriction;
 }