InMemoryConfigProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| InMemoryConfigProvider(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>) |
Creates a new instance. |
| InMemoryConfigProvider(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>, String) |
Creates a new instance, specifying a revision id of the configuration. |
InMemoryConfigProvider(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>)
- Source:
- InMemoryConfigProvider.cs
- Source:
- InMemoryConfigProvider.cs
Creates a new instance.
public InMemoryConfigProvider(System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> routes, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> clusters);
new Yarp.ReverseProxy.Configuration.InMemoryConfigProvider : System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> * System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> -> Yarp.ReverseProxy.Configuration.InMemoryConfigProvider
Public Sub New (routes As IReadOnlyList(Of RouteConfig), clusters As IReadOnlyList(Of ClusterConfig))
Parameters
- routes
- IReadOnlyList<RouteConfig>
- clusters
- IReadOnlyList<ClusterConfig>
Applies to
InMemoryConfigProvider(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>, String)
- Source:
- InMemoryConfigProvider.cs
- Source:
- InMemoryConfigProvider.cs
Creates a new instance, specifying a revision id of the configuration.
public InMemoryConfigProvider(System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> routes, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> clusters, string revisionId);
new Yarp.ReverseProxy.Configuration.InMemoryConfigProvider : System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> * System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> * string -> Yarp.ReverseProxy.Configuration.InMemoryConfigProvider
Public Sub New (routes As IReadOnlyList(Of RouteConfig), clusters As IReadOnlyList(Of ClusterConfig), revisionId As String)
Parameters
- routes
- IReadOnlyList<RouteConfig>
- clusters
- IReadOnlyList<ClusterConfig>
- revisionId
- String