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