Class InMemoryConfigProviderExtensions
Inheritance
System.Object
InMemoryConfigProviderExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Yarp.ReverseProxy.dll
Syntax
public static class InMemoryConfigProviderExtensions : object
Methods
| Improve this Doc View SourceLoadFromMemory(IReverseProxyBuilder, IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>)
Adds an InMemoryConfigProvider
Declaration
public static IReverseProxyBuilder LoadFromMemory(this IReverseProxyBuilder builder, IReadOnlyList<RouteConfig> routes, IReadOnlyList<ClusterConfig> clusters)
Parameters
Type | Name | Description |
---|---|---|
IReverseProxyBuilder | builder | |
IReadOnlyList<RouteConfig> | routes | |
IReadOnlyList<ClusterConfig> | clusters |
Returns
Type | Description |
---|---|
IReverseProxyBuilder |