C# Class Xml.Schema.Linq.CodeGen.XsdToTypesConverter

Datei anzeigen Open project: o2platform/O2.Platform.Projects Class Usage Examples

Public Methods

Method Description
GenerateMapping ( XmlSchemaSet schemas ) : ClrMappingInfo
XsdToTypesConverter ( LinqToXsdSettings configSettings ) : System
XsdToTypesConverter ( bool nameMangler2 ) : System

Private Methods

Method Description
AppendCardinalityInformation ( List annotations, ClrBasePropertyInfo basePropertyInfo, XmlSchemaObject schemaObject, bool isInChoice, bool isInNestedGroup ) : void
AppendMessage ( List annotations, string section, string message ) : void
AppendOccurenceToRegex ( ContentInfo contentInfo, StringBuilder regEx ) : void
AppendRegExInformation ( ClrTypeInfo typeInfo ) : void
AppendXsdDocumentationInformation ( List annotations, XmlSchemaObject schemaObject ) : void
BaseType ( XmlSchemaComplexType ct ) : XmlSchemaType
BuildAnnotationInformation ( ClrBasePropertyInfo propertyInfo, XmlSchemaObject schemaObject, bool isInChoice, bool isInNestedGroup ) : void
BuildAnnotationInformation ( ClrTypeInfo typeInfo, XmlSchemaObject schemaObject ) : void
BuildAnyProperty ( XmlSchemaAny any, bool addToTypeDef ) : ClrWildCardPropertyInfo
BuildComplexTypeTextProperty ( XmlSchemaElement parentElement, XmlSchemaComplexType schemaType ) : ClrPropertyInfo
BuildNestedTypes ( ClrContentTypeInfo typeInfo ) : void
BuildProperties ( XmlSchemaElement parentElement, XmlSchemaType schemaType, ClrContentTypeInfo typeInfo ) : void
BuildProperty ( XmlSchemaAttribute attribute, bool fromBaseType, bool isNew ) : ClrPropertyInfo
BuildProperty ( XmlSchemaElement elem, bool fromBaseType ) : ClrPropertyInfo
BuildSimpleTypeTextProperty ( XmlSchemaElement parentElement, XmlSchemaSimpleType schemaType ) : ClrPropertyInfo
BuildSubstitutionGroups ( ) : void
BuildTypeReference ( XmlSchemaObject schemaObject, XmlQualifiedName typeQName, bool anonymousType, bool setVariety ) : ClrTypeReference
CheckUnhandledAttributes ( XmlSchemaAnnotated annotated ) : bool
ElementExists ( XmlQualifiedName name ) : bool
ElementsToTypes ( ) : void
GenerateMetaModel ( ) : ClrMappingInfo
GetOccurence ( XmlSchemaParticle particle ) : Occurs
IsSubstitutionGroupHead ( XmlSchemaElement element ) : ArrayList
SetFixedDefaultValue ( XmlSchemaAttribute attribute, ClrPropertyInfo propertyInfo ) : void
SetPropertyFlags ( ClrPropertyInfo propertyInfo, GroupingInfo currentGroupingInfo, XmlSchemaType propertyType ) : void
TraverseAttributes ( XmlSchemaObjectTable derivedAttributes, ClrContentTypeInfo typeInfo ) : void
TraverseAttributes ( XmlSchemaObjectTable derivedAttributes, XmlSchemaObjectTable baseAttributes, ClrContentTypeInfo typeInfo ) : void
TraverseParticle ( XmlSchemaParticle particle, XmlSchemaComplexType baseType, ClrContentTypeInfo typeInfo, XmlSchemaDerivationMethod derivationMethod ) : void
TypesToTypes ( ) : void
Validationcallback ( object sender, ValidationEventArgs args ) : void
WalkSubstitutionGroup ( XmlSchemaElement element, XmlSchemaElement leafElement ) : void

Method Details

GenerateMapping() public method

public GenerateMapping ( XmlSchemaSet schemas ) : ClrMappingInfo
schemas System.Xml.Schema.XmlSchemaSet
return ClrMappingInfo

XsdToTypesConverter() public method

public XsdToTypesConverter ( LinqToXsdSettings configSettings ) : System
configSettings LinqToXsdSettings
return System

XsdToTypesConverter() public method

public XsdToTypesConverter ( bool nameMangler2 ) : System
nameMangler2 bool
return System