Share via


InMemoryConfigProvider Constructors

Definition

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

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

revisionId
String

Applies to