C# Class Thinktecture.ServiceModel.IoC.IocServiceBehaviorAttribute

Inheritance: System.Attribute, IServiceBehavior
Mostrar archivo Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection endpoints, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void

Provides the ability to pass custom data to binding elements to support the contract implementation.

ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void

Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.

IocServiceBehaviorAttribute ( string container ) : System

Initializes a new instance of the IocServiceBehaviorAttribute class.

Validate ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void

Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.

Method Details

AddBindingParameters() public method

Provides the ability to pass custom data to binding elements to support the contract implementation.
public AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection endpoints, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription The service description of the service.
serviceHostBase ServiceHostBase The host of the service.
endpoints Collection The service endpoints.
bindingParameters System.ServiceModel.Channels.BindingParameterCollection Custom objects to which binding elements have access.
return void

ApplyDispatchBehavior() public method

Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.
public ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription The service description.
serviceHostBase ServiceHostBase The host that is currently being built.
return void

IocServiceBehaviorAttribute() public method

Initializes a new instance of the IocServiceBehaviorAttribute class.
public IocServiceBehaviorAttribute ( string container ) : System
container string The container.
return System

Validate() public method

Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.
public Validate ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription The service description.
serviceHostBase ServiceHostBase The service host that is currently being constructed.
return void