Class FeatureFlagProviderBindingSettings
Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll
Describes one configuration-driven external provider binding for a feature flag.
public sealed class FeatureFlagProviderBindingSettingsInheritance
Section titled “Inheritance”object ← FeatureFlagProviderBindingSettings
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”FeatureFlagProviderBindingSettings(string, string?, IReadOnlyDictionary<string, string>?)
Section titled “ FeatureFlagProviderBindingSettings(string, string?, IReadOnlyDictionary<string, string>?)”Creates provider-binding settings.
public FeatureFlagProviderBindingSettings(string providerId, string? providerFeatureId = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”providerId string
The stable external provider identifier.
providerFeatureId string?
The provider-specific feature identifier.
metadata IReadOnlyDictionary<string, string>?
Optional provider-specific binding metadata.
Properties
Section titled “Properties”Metadata
Section titled “ Metadata”Gets provider-specific binding metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
ProviderFeatureId
Section titled “ ProviderFeatureId”Gets the provider-specific feature identifier when one was supplied.
public string? ProviderFeatureId { get; }Property Value
Section titled “Property Value”ProviderId
Section titled “ ProviderId”Gets the stable external provider identifier.
public string ProviderId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”FromSection(IConfigurationSection)
Section titled “ FromSection(IConfigurationSection)”Reads one provider binding from configuration.
public static FeatureFlagProviderBindingSettings FromSection(IConfigurationSection section)Parameters
Section titled “Parameters”section IConfigurationSection
The configuration section that contains the provider binding.
Returns
Section titled “Returns”FeatureFlagProviderBindingSettings
The parsed provider binding settings.