Class ServiceDiscoveryMetadataProvider
Provides metadata required by the MassTransit transport to respond to a service discovery request.
Inheritance
System.Object
ServiceDiscoveryMetadataProvider
Implements
Namespace: Copper.Discovery.MassTransit.Common.V1
Assembly: Copper.Discovery.MassTransit.Common.dll
Syntax
public class ServiceDiscoveryMetadataProvider : IServiceDiscoveryMetadataProvider
Constructors
View SourceServiceDiscoveryMetadataProvider(DiscoveryClientSettings)
Initializes a new instance of the ServiceDiscoveryMetadataProvider class.
Declaration
public ServiceDiscoveryMetadataProvider(DiscoveryClientSettings discoveryClientSettings)
Parameters
Type | Name | Description |
---|---|---|
DiscoveryClientSettings | discoveryClientSettings | The discovery client settings. |
Methods
View SourceRetrieve()
Retrieves the service discovery metadata.
Declaration
public string Retrieve()
Returns
Type | Description |
---|---|
System.String | A System.String containing the service discovery metadata. |