public XmlItem Build()
 {
     return(new XmlItem(
                ValueType,
                Name ?? ValueType.GetShortName(),
                TypeHandling,
                KnownTypes?.Build()));
 }
Пример #2
0
 public XmlObjectContract Build()
 {
     return(new XmlObjectContract(
                ValueType,
                Name ?? ValueType.GetShortName(),
                Properties?.Build(),
                TypeHandling,
                Item?.Build()));
 }
 public XmlObjectContract Build()
 {
     return(new XmlObjectContract(
                ValueType,
                Name ?? ValueType.GetShortName(),
                Properties != null ? Properties.Build() : null,
                TypeHandling,
                Item != null ? Item.Build() : null));
 }
Пример #4
0
 public XmlKnownType Build()
 {
     return(new XmlKnownType(
                ValueType,
                Name ?? ValueType.GetShortName(),
                TypeHandling,
                NullValueHandling,
                DefaultValueHandling,
                DefaultValue));
 }