C# Class Thinktecture.ServiceModel.ServiceHost

Custom ServiceHost for attaching the extensions responsible for flattening the WSDL and applying the optimized intranet hosting settings.
Inheritance: System.ServiceModel.ServiceHost
显示文件 Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
ServiceHost ( Type serviceType ) : System

Initializes a new instance of the ServiceHost class.

ServiceHost ( Type serviceType, Profile profile, Flattening enableFlatWsdl ) : System

Initializes a new instance of the ServiceHost class.

ServiceHost ( object singeltonInstance ) : System

Initializes a new instance of the ServiceHost class.

ServiceHost ( object singeltonInstance, Profile profile, Flattening enableFlatWsdl ) : System

Initializes a new instance of the ServiceHost class.

Protected Methods

Method Description
ApplyConfiguration ( ) : void

Loads the service description information from the configuration file and applies it to the runtime being constructed.

InitializeRuntime ( ) : void

Initializes the runtime for the service host.

ServiceHost ( ) : System

Initializes a new instance of the ServiceHost class.

Private Methods

Method Description
AddFlatWsdl ( ) : void

Attaches the flat WSDL extension.

BindOperation ( OperationDescription operation ) : void
BindOperationsSecondRound ( ) : void
ChangeBindings ( ) : void

Changes the bindings.

ChangeSerializer ( ) : void

Changes the MaxItemsInObjectGraph quota used by the serializer.

ChangeThrottling ( ) : void

Changes the throttling behavior.

CheckConfig ( ) : void

Configures the ServiceHost instance appropriately.

ExecuteBootstrapTasks ( ) : void

Method Details

ApplyConfiguration() protected method

Loads the service description information from the configuration file and applies it to the runtime being constructed.
The description of the service hosted is null.
protected ApplyConfiguration ( ) : void
return void

InitializeRuntime() protected method

Initializes the runtime for the service host.
The description of the service hosted is null.
protected InitializeRuntime ( ) : void
return void

ServiceHost() protected method

Initializes a new instance of the ServiceHost class.
protected ServiceHost ( ) : System
return System

ServiceHost() public method

Initializes a new instance of the ServiceHost class.
public ServiceHost ( Type serviceType ) : System
serviceType System.Type
return System

ServiceHost() public method

Initializes a new instance of the ServiceHost class.
public ServiceHost ( Type serviceType, Profile profile, Flattening enableFlatWsdl ) : System
serviceType System.Type
profile Profile
enableFlatWsdl Flattening
return System

ServiceHost() public method

Initializes a new instance of the ServiceHost class.
public ServiceHost ( object singeltonInstance ) : System
singeltonInstance object
return System

ServiceHost() public method

Initializes a new instance of the ServiceHost class.
public ServiceHost ( object singeltonInstance, Profile profile, Flattening enableFlatWsdl ) : System
singeltonInstance object
profile Profile
enableFlatWsdl Flattening
return System