C# Class XmlSchemaObjectModelSample, shared-source-cli-2.0

Class that contains the Main entry point.
Datei anzeigen Open project: gbarnett/shared-source-cli-2.0

Public Methods

Method Description
Main ( string args ) : void

Main entry point for sample application.

WriteExample ( XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
WriteExampleAttribute ( XmlSchemaAttribute attribute, XmlTextWriter myXmlTextWriter ) : void
WriteExampleAttributes ( XmlSchemaObjectCollection attributes, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
WriteExampleElement ( XmlSchemaElement element, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
WriteExampleParticle ( XmlSchemaParticle particle, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
WriteExampleValue ( object schemaType, XmlTextWriter myXmlTextWriter ) : void
WriteXSDSchema ( XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void

This method writes out the XSD object model.

WriteXmlSchemaAnnotation ( XmlSchemaAnnotation annotation, XmlTextWriter myXmlTextWriter ) : void
WriteXmlSchemaAttribute ( XmlSchemaAttribute attribute, XmlTextWriter myXmlTextWriter ) : void

This method writes out an XML schema attribute.

WriteXmlSchemaAttributeGroup ( XmlSchemaAttributeGroup attributeGroup, XmlTextWriter myXmlTextWriter ) : void
WriteXmlSchemaComplexType ( XmlSchemaComplexType complexType, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void

WriteXmlSchemaElement ( XmlSchemaElement element, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
WriteXmlSchemaGroup ( XmlSchemaGroup group, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter, string RefName ) : void
WriteXmlSchemaNotation ( XmlSchemaNotation notation, XmlTextWriter myXmlTextWriter ) : void
WriteXmlSchemaParticle ( XmlSchemaParticle particle, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
WriteXmlSchemaSimpleType ( XmlSchemaSimpleType simpleType, XmlTextWriter myXmlTextWriter ) : void

Method Details

Main() public static method

Main entry point for sample application.
public static Main ( string args ) : void
args string
return void

WriteExample() public static method

public static WriteExample ( XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteExampleAttribute() public static method

public static WriteExampleAttribute ( XmlSchemaAttribute attribute, XmlTextWriter myXmlTextWriter ) : void
attribute XmlSchemaAttribute
myXmlTextWriter XmlTextWriter
return void

WriteExampleAttributes() public static method

public static WriteExampleAttributes ( XmlSchemaObjectCollection attributes, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
attributes XmlSchemaObjectCollection
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteExampleElement() public static method

public static WriteExampleElement ( XmlSchemaElement element, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
element XmlSchemaElement
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteExampleParticle() public static method

public static WriteExampleParticle ( XmlSchemaParticle particle, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
particle XmlSchemaParticle
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteExampleValue() public static method

public static WriteExampleValue ( object schemaType, XmlTextWriter myXmlTextWriter ) : void
schemaType object
myXmlTextWriter XmlTextWriter
return void

WriteXSDSchema() public static method

This method writes out the XSD object model.
public static WriteXSDSchema ( XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteXmlSchemaAnnotation() public static method

public static WriteXmlSchemaAnnotation ( XmlSchemaAnnotation annotation, XmlTextWriter myXmlTextWriter ) : void
annotation XmlSchemaAnnotation
myXmlTextWriter XmlTextWriter
return void

WriteXmlSchemaAttribute() public static method

This method writes out an XML schema attribute.
public static WriteXmlSchemaAttribute ( XmlSchemaAttribute attribute, XmlTextWriter myXmlTextWriter ) : void
attribute XmlSchemaAttribute XML schema attribute to be output.
myXmlTextWriter XmlTextWriter XmlTextWriter to write output to.
return void

WriteXmlSchemaAttributeGroup() public static method

public static WriteXmlSchemaAttributeGroup ( XmlSchemaAttributeGroup attributeGroup, XmlTextWriter myXmlTextWriter ) : void
attributeGroup System.Xml.Schema.XmlSchemaAttributeGroup
myXmlTextWriter XmlTextWriter
return void

WriteXmlSchemaComplexType() public static method

public static WriteXmlSchemaComplexType ( XmlSchemaComplexType complexType, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
complexType XmlSchemaComplexType
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteXmlSchemaElement() public static method

public static WriteXmlSchemaElement ( XmlSchemaElement element, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
element XmlSchemaElement
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteXmlSchemaGroup() public static method

public static WriteXmlSchemaGroup ( XmlSchemaGroup group, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter, string RefName ) : void
group XmlSchemaGroup
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
RefName string
return void

WriteXmlSchemaNotation() public static method

public static WriteXmlSchemaNotation ( XmlSchemaNotation notation, XmlTextWriter myXmlTextWriter ) : void
notation XmlSchemaNotation
myXmlTextWriter XmlTextWriter
return void

WriteXmlSchemaParticle() public static method

public static WriteXmlSchemaParticle ( XmlSchemaParticle particle, XmlSchema myXmlSchema, XmlTextWriter myXmlTextWriter ) : void
particle XmlSchemaParticle
myXmlSchema XmlSchema
myXmlTextWriter XmlTextWriter
return void

WriteXmlSchemaSimpleType() public static method

public static WriteXmlSchemaSimpleType ( XmlSchemaSimpleType simpleType, XmlTextWriter myXmlTextWriter ) : void
simpleType XmlSchemaSimpleType
myXmlTextWriter XmlTextWriter
return void