C# Class Thinktecture.ServiceModel.Description.FlatWsdl

Custom endpoint behavior to enable flattened WSDL emmision. Use ServiceHost to automatically apply this behavior to all endpoints in the host.
Inheritance: IWsdlExportExtension, IEndpointBehavior
ファイルを表示 Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
AddBindingParameters ( ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void

Passes data at runtime to bindings to support custom behavior.

ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void

Implements a modification or extension of the client across an endpoint.

ApplyDispatchBehavior ( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) : void

Implements a modification or extension of the service across an endpoint.

ExportContract ( System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlContractConversionContext context ) : void

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

ExportEndpoint ( System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlEndpointConversionContext context ) : void

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

FlatWsdl ( ) : System

Initializes a new instance of the FlatWsdl class.

Validate ( ServiceEndpoint endpoint ) : void

Confirms that the endpoint meets some intended criteria.

Private Methods

Method Description
ResolveImportedSchemas ( XmlSchema schema, XmlSchemaSet schemaSet, Collection importsList ) : void

This method enumarates the schema imports in schema and adds the actual schemas resolved from schemaSet to importsList.

Method Details

AddBindingParameters() public method

Passes data at runtime to bindings to support custom behavior.
public AddBindingParameters ( ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
bindingParameters System.ServiceModel.Channels.BindingParameterCollection
return void

ApplyClientBehavior() public method

Implements a modification or extension of the client across an endpoint.
public ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
clientRuntime System.ServiceModel.Dispatcher.ClientRuntime
return void

ApplyDispatchBehavior() public method

Implements a modification or extension of the service across an endpoint.
public ApplyDispatchBehavior ( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
endpointDispatcher System.ServiceModel.Dispatcher.EndpointDispatcher
return void

ExportContract() public method

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.
public ExportContract ( System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlContractConversionContext context ) : void
exporter System.ServiceModel.Description.WsdlExporter
context System.ServiceModel.Description.WsdlContractConversionContext
return void

ExportEndpoint() public method

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.
public ExportEndpoint ( System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlEndpointConversionContext context ) : void
exporter System.ServiceModel.Description.WsdlExporter
context System.ServiceModel.Description.WsdlEndpointConversionContext
return void

FlatWsdl() public method

Initializes a new instance of the FlatWsdl class.
public FlatWsdl ( ) : System
return System

Validate() public method

Confirms that the endpoint meets some intended criteria.
public Validate ( ServiceEndpoint endpoint ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
return void