Class ResolvedDestinationCollection
Represents a collection of resolved destinations.
Inheritance
System.Object
ResolvedDestinationCollection
Namespace: Yarp.ReverseProxy.ServiceDiscovery
Assembly: Yarp.ReverseProxy.dll
Syntax
public sealed class ResolvedDestinationCollection : object
Constructors
| Improve this Doc View SourceResolvedDestinationCollection(IReadOnlyDictionary<String, DestinationConfig>, Nullable<IChangeToken>)
Declaration
public ResolvedDestinationCollection(IReadOnlyDictionary<string, DestinationConfig> destinations, IChangeToken? changeToken)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyDictionary<System.String, DestinationConfig> | destinations | |
System.Nullable<IChangeToken> | changeToken |
Properties
| Improve this Doc View SourceChangeToken
Gets the optional change token used to signal when this collection should be refreshed.
Declaration
public IChangeToken? ChangeToken { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IChangeToken> |
Destinations
Gets the map of destination names to destination configurations.
Declaration
public IReadOnlyDictionary<string, DestinationConfig> Destinations { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.String, DestinationConfig> |