Class ServiceDiscoveryRequestedEventHandler
An event handler used to handle service discovery requests.
Inheritance
System.Object
ServiceDiscoveryRequestedEventHandler
Implements
Namespace: Copper.Discovery.Service
Assembly: Copper.Discovery.Service.dll
Syntax
public class ServiceDiscoveryRequestedEventHandler : IServiceDiscoveryRequestedEvent
Constructors
View SourceServiceDiscoveryRequestedEventHandler(ServiceMetadata, ServiceProxy, IRequestSubmitterBuilderFactory)
Initializes a new instance of the ServiceDiscoveryRequestedEventHandler class.
Declaration
public ServiceDiscoveryRequestedEventHandler(ServiceMetadata serviceMetadata, ServiceProxy serviceProxy, IRequestSubmitterBuilderFactory requestSubmitterBuilderFactory)
Parameters
Type | Name | Description |
---|---|---|
ServiceMetadata | serviceMetadata | The service metadata. |
ServiceProxy | serviceProxy | The service proxy. |
IRequestSubmitterBuilderFactory | requestSubmitterBuilderFactory | The request submitter builder factory. |
Methods
View SourceOnServiceDiscoveryRequested(ServiceDiscoveryRequestedEventArgs)
Handles an IServiceDiscoveryRequestedEvent.
Declaration
public async Task OnServiceDiscoveryRequested(ServiceDiscoveryRequestedEventArgs serviceDiscoveryRequestedEventArgs)
Parameters
Type | Name | Description |
---|---|---|
ServiceDiscoveryRequestedEventArgs | serviceDiscoveryRequestedEventArgs | The service discovery requested event arguments. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task that represents outstanding operation. |