C# 클래스 Thinktecture.Tools.Web.Services.CodeGeneration.MetadataFactory

Retrieves and imports meta data for WSDL documents and XSD files.
파일 보기 프로젝트 열기: WSCF/WSCF

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

GetMetadataSet() 공개 정적인 메소드

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.
리턴 System.ServiceModel.Description.MetadataSet

GetXmlSchemas() 공개 정적인 메소드

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