C# Class SevenDigital.Parsing.XsdToObject.ClassParser

Mostra file Open project: 7digital/XsdToObject

Public Methods

Method Description
GetParsedClasses ( ) : ClassInfo>.IDictionary
Parse ( Stream stream ) : void

Private Methods

Method Description
AddAttributes ( ClassInfo classInfo, XmlSchemaObjectCollection attributes ) : void
AddExtensionAttributes ( ClassInfo classInfo, XmlSchemaComplexType complex ) : void
AddValueProperty ( ClassInfo classInfo, XmlSchemaSimpleContentExtension sce ) : void
GenerateNSCode ( string ns ) : string
GenerateUniquePropertyNames ( ClassInfo classInfo ) : void
ParseComplex ( XmlSchemaComplexType complex, string name, string nsCode ) : ClassInfo
ParseElement ( XmlSchemaElement elem, string nsCode ) : void
ParseElementProperty ( ClassInfo classInfo, XmlSchemaElement elem, bool isList, string nsCode ) : void
ParseParticle ( ClassInfo classInfo, XmlSchemaParticle particle, string nsCode ) : void
ParseType ( XmlSchemaComplexType type, string name, string nsCode ) : void
PropertyFromAttribute ( ClassInfo classInfo, XmlSchemaAttribute attribute ) : PropertyInfo
ResolveSimpleTypeName ( string name ) : string
ResolveTypeName ( XmlQualifiedName name ) : string
ResolveTypeName ( XmlSchemaElement elem, string nsCode ) : string
ResolveTypeName ( string name, string nsCode ) : string

Method Details

GetParsedClasses() public method

public GetParsedClasses ( ) : ClassInfo>.IDictionary
return ClassInfo>.IDictionary

Parse() public method

public Parse ( Stream stream ) : void
stream Stream
return void