Edytuj

Udostępnij za pośrednictwem


OptionsOverrides Class

Definition

Functionality for overriding options using named options, falling back to the default (unnamed) value.

public static class OptionsOverrides
type OptionsOverrides = class
Public Module OptionsOverrides
Inheritance
OptionsOverrides

Methods

AddProviderClusterOptions(IClientBuilder, String, Action<ClusterOptions>)

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

AddProviderClusterOptions(IClientBuilder, String, Action<OptionsBuilder<ClusterOptions>>)

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

GetProviderClusterOptions(IServiceProvider, String)

Gets ClusterOptions which may have been overridden on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

Applies to