Class RequestServiceInstanceListenerBuilder
Provides the builder class for a ServiceInstanceListener configured to receive service requests.
Inheritance
System.Object
RequestServiceInstanceListenerBuilder
Namespace: Copper.Remoting.Service
Assembly: Copper.Remoting.Service.dll
Syntax
public sealed class RequestServiceInstanceListenerBuilder : RequestServiceInstanceListenerBuilder<RequestServiceInstanceListenerBuilder>
Methods
View SourceCreate(Type, Type, String)
Creates a new RequestServiceInstanceListenerBuilder instance.
Declaration
public static RequestServiceInstanceListenerBuilder Create(Type contractType, Type implementationType, string listenerName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | contractType | The contract type. |
System.Type | implementationType | The implementation type. |
System.String | listenerName | The listener name. |
Returns
Type | Description |
---|---|
RequestServiceInstanceListenerBuilder | The RequestServiceInstanceListenerBuilder instance. |
Create<TContract, TImplementation>(String)
Creates a new RequestServiceInstanceListenerBuilder instance.
Declaration
public static RequestServiceInstanceListenerBuilder Create<TContract, TImplementation>(string listenerName)
where TContract : class where TImplementation : class, TContract
Parameters
Type | Name | Description |
---|---|---|
System.String | listenerName | The listener name. |
Returns
Type | Description |
---|---|
RequestServiceInstanceListenerBuilder | The RequestServiceInstanceListenerBuilder instance. |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |
TImplementation | The implementation type. |