C# Class IServiceOriented.ServiceBus.Listeners.WcfServiceHostFactory

Creates WCF service hosts. Used by WcfListener.
Afficher le fichier Open project: jezell/iserviceoriented Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
definePublishOverride ( Type interfaceType, TypeBuilder typeBuilder, MethodInfo methodInfo, string action ) : void

Method Details

CreateHost() public static méthode

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
Résultat System.ServiceModel.ServiceHost

CreateImplementationType() public static méthode

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

VerifyContract() public static méthode

public static VerifyContract ( Type contractType ) : void
contractType System.Type
Résultat void