C# Class System.Runtime.Serialization.XsdDataContractExporter

Show file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddKnownTypes void
AddType void
CheckAndAddType void
Export void
GetSchemaSet System.Xml.Schema.XmlSchemaSet
GetSurrogatedType System.Type
TraceExportBegin void
TraceExportEnd void
TraceExportError void

Public Methods

Method Description
CanExport ( ICollection assemblies ) : bool
CanExport ( ICollection types ) : bool
CanExport ( System type ) : bool
CanExport ( System assemblies ) : bool
CanExport ( System types ) : bool
CanExport ( Type type ) : bool
Export ( ICollection assemblies ) : void
Export ( ICollection types ) : void
Export ( System type ) : void
Export ( System assemblies ) : void
Export ( System types ) : void
Export ( Type type ) : void
GenerateCode ( IList assemblies ) : IList
GetRootElementName ( System type ) : System.Xml.XmlQualifiedName
GetRootElementName ( Type type ) : XmlQualifiedName
GetSchemaType ( System type ) : System.Xml.Schema.XmlSchemaType
GetSchemaType ( Type type ) : XmlSchemaType
GetSchemaTypeName ( System type ) : System.Xml.XmlQualifiedName
GetSchemaTypeName ( Type type ) : XmlQualifiedName
XsdDataContractExporter ( )
XsdDataContractExporter ( System schemas )
XsdDataContractExporter ( ) : System.Xml
XsdDataContractExporter ( XmlSchemaSet schemas ) : System.Xml

Private Methods

Method Description
AddKnownTypes ( ) : void
AddType ( Type type ) : void
CheckAndAddType ( Type type ) : void
Export ( ) : void
GetSchemaSet ( ) : XmlSchemaSet
GetSurrogatedType ( Type type ) : Type
TraceExportBegin ( ) : void
TraceExportEnd ( ) : void
TraceExportError ( Exception exception ) : void

Method Details

CanExport() public method

public CanExport ( ICollection assemblies ) : bool
assemblies ICollection
return bool

CanExport() public method

public CanExport ( ICollection types ) : bool
types ICollection
return bool

CanExport() public method

public CanExport ( System type ) : bool
type System
return bool

CanExport() public method

public CanExport ( System assemblies ) : bool
assemblies System
return bool

CanExport() public method

public CanExport ( System types ) : bool
types System
return bool

CanExport() public method

public CanExport ( Type type ) : bool
type System.Type
return bool

Export() public method

public Export ( ICollection assemblies ) : void
assemblies ICollection
return void

Export() public method

public Export ( ICollection types ) : void
types ICollection
return void

Export() public method

public Export ( System type ) : void
type System
return void

Export() public method

public Export ( System assemblies ) : void
assemblies System
return void

Export() public method

public Export ( System types ) : void
types System
return void

Export() public method

public Export ( Type type ) : void
type System.Type
return void

GenerateCode() public method

public GenerateCode ( IList assemblies ) : IList
assemblies IList
return IList

GetRootElementName() public method

public GetRootElementName ( System type ) : System.Xml.XmlQualifiedName
type System
return System.Xml.XmlQualifiedName

GetRootElementName() public method

public GetRootElementName ( Type type ) : XmlQualifiedName
type System.Type
return System.Xml.XmlQualifiedName

GetSchemaType() public method

public GetSchemaType ( System type ) : System.Xml.Schema.XmlSchemaType
type System
return System.Xml.Schema.XmlSchemaType

GetSchemaType() public method

public GetSchemaType ( Type type ) : XmlSchemaType
type System.Type
return System.Xml.Schema.XmlSchemaType

GetSchemaTypeName() public method

public GetSchemaTypeName ( System type ) : System.Xml.XmlQualifiedName
type System
return System.Xml.XmlQualifiedName

GetSchemaTypeName() public method

public GetSchemaTypeName ( Type type ) : XmlQualifiedName
type System.Type
return System.Xml.XmlQualifiedName

XsdDataContractExporter() public method

XsdDataContractExporter() public method

public XsdDataContractExporter ( System schemas )
schemas System

XsdDataContractExporter() public method

public XsdDataContractExporter ( ) : System.Xml
return System.Xml

XsdDataContractExporter() public method

public XsdDataContractExporter ( XmlSchemaSet schemas ) : System.Xml
schemas System.Xml.Schema.XmlSchemaSet
return System.Xml