Class RequestServiceInstanceListenerBuilder
Provides the builder class for a Service
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 Request
Declaration
public static RequestServiceInstanceListenerBuilder Create(Type contractType, Type implementationType, string listenerName)
Parameters
Type | Name | Description |
---|---|---|
System. |
contractType | The contract type. |
System. |
implementationType | The implementation type. |
System. |
listenerName | The listener name. |
Returns
Type | Description |
---|---|
Request |
The Request |
Create<TContract, TImplementation>(String)
Creates a new Request
Declaration
public static RequestServiceInstanceListenerBuilder Create<TContract, TImplementation>(string listenerName)
where TContract : class where TImplementation : class, TContract
Parameters
Type | Name | Description |
---|---|---|
System. |
listenerName | The listener name. |
Returns
Type | Description |
---|---|
Request |
The Request |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |
TImplementation | The implementation type. |