Interface IServiceDiscoveryRequestedEvent
Defines an event contract that is published by a client when discovering services and to which a service should subscribe and respond to be discoverable.
Namespace: Copper.Discovery.Interface.V1
Assembly: Copper.Discovery.Interface.dll
Syntax
public interface IServiceDiscoveryRequestedEvent
Methods
View SourceOnServiceDiscoveryRequested(ServiceDiscoveryRequestedEventArgs)
Publishes/Handles an IServiceDiscoveryRequestedEvent.
Declaration
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. |