Interface ICommunicationListenerFactory
Defines a method for creating a delegate that, when invoked, returns a
Namespace: Copper.Service.Interface
Assembly: Copper.Service.dll
Syntax
public interface ICommunicationListenerFactory
Methods
View SourceCreateFor<TContract, TImplementation>(TContract)
Creates a delegate that, when invoked, returns a
Declaration
Func<StatelessServiceContext, ICommunicationListener> CreateFor<TContract, TImplementation>(TContract serviceInstance)
where TContract : class where TImplementation : class, TContract
Parameters
Type | Name | Description |
---|---|---|
TContract | serviceInstance | The service instance. |
Returns
Type | Description |
---|---|
System.Func<StatelessServiceContext, ICommunicationListener> | A delegate that, when invoked, returns a |
Type Parameters
Name | Description |
---|---|
TContract | The service contract type. |
TImplementation | The service implementation type. |