C# Class System.Xml.Serialization.TypeData

Show file Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
GetIndexerProperty ( Type collectionType ) : PropertyInfo
ToCSharpName ( Type type, bool full ) : string
TypeData ( Type type, string elementName, bool isPrimitive ) : System
TypeData ( Type type, string elementName, bool isPrimitive, TypeData mappedType, XmlSchemaPatternFacet facet ) : System

Private Methods

Method Description
CreateMissingAddMethodException ( Type type, string inheritFrom, Type argumentType ) : InvalidOperationException
GetGenericListItemType ( Type type ) : Type
IsKeyword ( string name ) : bool
TypeData ( string typeName, string fullTypeName, string xmlType, SchemaTypes schemaType, TypeData listItemTypeData ) : System

Method Details

GetIndexerProperty() public static method

public static GetIndexerProperty ( Type collectionType ) : PropertyInfo
collectionType System.Type
return System.Reflection.PropertyInfo

ToCSharpName() public static method

public static ToCSharpName ( Type type, bool full ) : string
type System.Type
full bool
return string

TypeData() public method

public TypeData ( Type type, string elementName, bool isPrimitive ) : System
type System.Type
elementName string
isPrimitive bool
return System

TypeData() public method

public TypeData ( Type type, string elementName, bool isPrimitive, TypeData mappedType, XmlSchemaPatternFacet facet ) : System
type System.Type
elementName string
isPrimitive bool
mappedType TypeData
facet System.Xml.Schema.XmlSchemaPatternFacet
return System