C# Class Thinktecture.Tools.Web.Services.CodeGeneration.MetadataFactory

Retrieves and imports meta data for WSDL documents and XSD files.
Afficher le fichier Open project: WSCF/WSCF

Méthodes publiques

Méthode Description
GetMetadataSet ( MetadataResolverOptions options ) : System.ServiceModel.Description.MetadataSet

Retrieves and imports meta data for a given WSDL document specified by WsdlDocument property.

GetXmlSchemas ( MetadataResolverOptions options ) : System.Xml.Serialization.XmlSchemas

Gets the XML schemas for generating data contracts.

Private Methods

Méthode Description
CertValidation ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors ) : bool
DownloadContract ( MetadataResolverOptions options ) : void
GetCredentials ( MetadataResolverOptions options ) : ICredentials

Returns an object of ICredentials type according to the options.

GetTempFilename ( Uri metadataUri ) : string
RemoveDuplicates ( XmlSchemaSet &set ) : void

Removes the duplicate schemas in a given XmlSchemaSet instance.

ResolveImports ( MetadataResolverOptions options, System.ServiceModel.Description.MetadataSet metadataSet ) : void
TrySetTempAttribute ( string file ) : bool
TryTranslateRpc2DocumentLiteral ( MetadataResolverOptions options ) : void
WriteStream ( Stream stream, string targetFile ) : void

Method Details

GetMetadataSet() public static méthode

Retrieves and imports meta data for a given WSDL document specified by WsdlDocument property.
public static GetMetadataSet ( MetadataResolverOptions options ) : System.ServiceModel.Description.MetadataSet
options MetadataResolverOptions The metadata resolving options.
Résultat System.ServiceModel.Description.MetadataSet

GetXmlSchemas() public static méthode

Gets the XML schemas for generating data contracts.
public static GetXmlSchemas ( MetadataResolverOptions options ) : System.Xml.Serialization.XmlSchemas
options MetadataResolverOptions The metadata resolving options.
Résultat System.Xml.Serialization.XmlSchemas