C# Class IServiceOriented.ServiceBus.Listeners.WcfServiceHostFactory

Creates WCF service hosts. Used by WcfListener.
Mostrar archivo Open project: jezell/iserviceoriented Class Usage Examples

Public Methods

Method Description
CreateHost ( ServiceBusRuntime runtime, Type contractType, Type implementationType, string configurationName, string address ) : System.ServiceModel.ServiceHost

Dynamically generate a service host

CreateImplementationType ( Type interfaceType ) : Type

Dynamically generate a service implementation type for use with a ServiceHost

VerifyContract ( Type contractType ) : void

Private Methods

Method Description
definePublishOverride ( Type interfaceType, TypeBuilder typeBuilder, MethodInfo methodInfo, string action ) : void

Method Details

CreateHost() public static method

Dynamically generate a service host
public static CreateHost ( ServiceBusRuntime runtime, Type contractType, Type implementationType, string configurationName, string address ) : System.ServiceModel.ServiceHost
runtime ServiceBusRuntime
contractType System.Type
implementationType System.Type
configurationName string
address string
return System.ServiceModel.ServiceHost

CreateImplementationType() public static method

Dynamically generate a service implementation type for use with a ServiceHost
public static CreateImplementationType ( Type interfaceType ) : Type
interfaceType System.Type
return System.Type

VerifyContract() public static method

public static VerifyContract ( Type contractType ) : void
contractType System.Type
return void