Метод | Описание | |
---|---|---|
DataContractGenerator ( System.Xml.Serialization.XmlSchemas schemas, |
Initializes a new instance of the DataContractGenerator class.
|
|
GenerateCode ( ) : |
Generates the data contracts for given xsd file(s).
|
Метод | Описание | |
---|---|---|
CouldBeAnArray ( |
Checks whether a given XmlSchemaType could be represented as an array. That is the XmlSchemaType has to be: 1. Complex type 2. ...with no base type 3. ...has no attributes 4. ...has only one element 5. ...whose maxOccurs is > 1
|
public DataContractGenerator ( System.Xml.Serialization.XmlSchemas schemas, |
||
schemas | System.Xml.Serialization.XmlSchemas | The XML schemas. |
options | The code generation options. | |
codeProvider | The code provider. | |
Результат | System |
public GenerateCode ( ) : |
||
Результат |