C# Class Microsoft.ServiceModel.Web.HelpExampleGenerator

Mostra file Open project: o2platform/O2.Platform.Projects Class Usage Examples

Public Methods

Method Description
GenerateJsonSample ( XmlSchemaSet schemaSet, XmlQualifiedName name, XmlWriter writer, Type>.IDictionary knownTypes ) : void
GenerateXmlSample ( XmlSchemaSet schemaSet, XmlQualifiedName name, XmlWriter writer ) : void

Private Methods

Method Description
ChoiceHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
ContentHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
DerivesFrom ( XmlSchemaComplexType parent, XmlSchemaComplexType child ) : bool
EmptyHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
ErrorHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
GenerateContentForXmlSimpleType ( XmlSchemaSimpleType simpleType ) : string
GenerateValidElementsComment ( XmlSchemaElement element, HelpExampleGeneratorContext context ) : XmlSchemaElement
GetConstantValue ( string typeName ) : string
GetDerivedTypes ( XmlSchemaElement element, HelpExampleGeneratorContext context ) : IEnumerable
InvokeHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
IsArrayElementType ( XmlSchemaElement element ) : bool
IsObject ( XmlSchemaElement element ) : bool
JsonComplexTypeHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
JsonElementHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
JsonSequenceHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
JsonSimpleTypeHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
SimpleTypeRestrictionHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
XmlAttributeHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
XmlComplexTypeHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
XmlElementHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
XmlSequenceHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void
XmlSimpleTypeHandler ( XmlSchemaObject schemaObject, HelpExampleGeneratorContext context ) : void

Method Details

GenerateJsonSample() public static method

public static GenerateJsonSample ( XmlSchemaSet schemaSet, XmlQualifiedName name, XmlWriter writer, Type>.IDictionary knownTypes ) : void
schemaSet System.Xml.Schema.XmlSchemaSet
name System.Xml.XmlQualifiedName
writer System.Xml.XmlWriter
knownTypes Type>.IDictionary
return void

GenerateXmlSample() public static method

public static GenerateXmlSample ( XmlSchemaSet schemaSet, XmlQualifiedName name, XmlWriter writer ) : void
schemaSet System.Xml.Schema.XmlSchemaSet
name System.Xml.XmlQualifiedName
writer System.Xml.XmlWriter
return void