Class FeatureFlagTargetingSettings
Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll
Describes configuration-driven targeting constraints for one feature flag.
public sealed class FeatureFlagTargetingSettingsInheritance
Section titled “Inheritance”object ← FeatureFlagTargetingSettings
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”FeatureFlagTargetingSettings(IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?)
Section titled “ FeatureFlagTargetingSettings(IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?)”Creates feature-flag targeting settings.
public FeatureFlagTargetingSettings(IReadOnlyList<string>? includedModuleIds = null, IReadOnlyList<string>? excludedModuleIds = null, IReadOnlyList<string>? includedBehaviorIds = null, IReadOnlyList<string>? excludedBehaviorIds = null, IReadOnlyList<string>? includedCapabilityKeys = null, IReadOnlyList<string>? excludedCapabilityKeys = null, IReadOnlyList<string>? includedTransportIds = null, IReadOnlyList<string>? excludedTransportIds = null, IReadOnlyList<string>? includedEnvironmentNames = null, IReadOnlyList<string>? excludedEnvironmentNames = null, IReadOnlyList<string>? includedTenantIds = null, IReadOnlyList<string>? excludedTenantIds = null, IReadOnlyList<string>? includedSubjectIds = null, IReadOnlyList<string>? excludedSubjectIds = null, IReadOnlyList<string>? includedTags = null, IReadOnlyList<string>? excludedTags = null)Parameters
Section titled “Parameters”includedModuleIds IReadOnlyList<string>?
The explicitly included module identifiers.
excludedModuleIds IReadOnlyList<string>?
The explicitly excluded module identifiers.
includedBehaviorIds IReadOnlyList<string>?
The explicitly included behavior identifiers.
excludedBehaviorIds IReadOnlyList<string>?
The explicitly excluded behavior identifiers.
includedCapabilityKeys IReadOnlyList<string>?
The explicitly included capability keys.
excludedCapabilityKeys IReadOnlyList<string>?
The explicitly excluded capability keys.
includedTransportIds IReadOnlyList<string>?
The explicitly included transport identifiers.
excludedTransportIds IReadOnlyList<string>?
The explicitly excluded transport identifiers.
includedEnvironmentNames IReadOnlyList<string>?
The explicitly included environment names.
excludedEnvironmentNames IReadOnlyList<string>?
The explicitly excluded environment names.
includedTenantIds IReadOnlyList<string>?
The explicitly included tenant identifiers.
excludedTenantIds IReadOnlyList<string>?
The explicitly excluded tenant identifiers.
includedSubjectIds IReadOnlyList<string>?
The explicitly included subject identifiers.
excludedSubjectIds IReadOnlyList<string>?
The explicitly excluded subject identifiers.
includedTags IReadOnlyList<string>?
The explicitly included descriptive tags.
excludedTags IReadOnlyList<string>?
The explicitly excluded descriptive tags.
Properties
Section titled “Properties”Gets an empty feature-flag targeting settings instance.
public static FeatureFlagTargetingSettings Empty { get; }Property Value
Section titled “Property Value”ExcludedBehaviorIds
Section titled “ ExcludedBehaviorIds”Gets the explicitly excluded behavior identifiers.
public IReadOnlyList<string> ExcludedBehaviorIds { get; }Property Value
Section titled “Property Value”ExcludedCapabilityKeys
Section titled “ ExcludedCapabilityKeys”Gets the explicitly excluded capability keys.
public IReadOnlyList<string> ExcludedCapabilityKeys { get; }Property Value
Section titled “Property Value”ExcludedEnvironmentNames
Section titled “ ExcludedEnvironmentNames”Gets the explicitly excluded environment names.
public IReadOnlyList<string> ExcludedEnvironmentNames { get; }Property Value
Section titled “Property Value”ExcludedModuleIds
Section titled “ ExcludedModuleIds”Gets the explicitly excluded module identifiers.
public IReadOnlyList<string> ExcludedModuleIds { get; }Property Value
Section titled “Property Value”ExcludedSubjectIds
Section titled “ ExcludedSubjectIds”Gets the explicitly excluded subject identifiers.
public IReadOnlyList<string> ExcludedSubjectIds { get; }Property Value
Section titled “Property Value”ExcludedTags
Section titled “ ExcludedTags”Gets the explicitly excluded descriptive tags.
public IReadOnlyList<string> ExcludedTags { get; }Property Value
Section titled “Property Value”ExcludedTenantIds
Section titled “ ExcludedTenantIds”Gets the explicitly excluded tenant identifiers.
public IReadOnlyList<string> ExcludedTenantIds { get; }Property Value
Section titled “Property Value”ExcludedTransportIds
Section titled “ ExcludedTransportIds”Gets the explicitly excluded transport identifiers.
public IReadOnlyList<string> ExcludedTransportIds { get; }Property Value
Section titled “Property Value”HasValues
Section titled “ HasValues”Gets a value indicating whether any targeting constraint was supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”IncludedBehaviorIds
Section titled “ IncludedBehaviorIds”Gets the explicitly included behavior identifiers.
public IReadOnlyList<string> IncludedBehaviorIds { get; }Property Value
Section titled “Property Value”IncludedCapabilityKeys
Section titled “ IncludedCapabilityKeys”Gets the explicitly included capability keys.
public IReadOnlyList<string> IncludedCapabilityKeys { get; }Property Value
Section titled “Property Value”IncludedEnvironmentNames
Section titled “ IncludedEnvironmentNames”Gets the explicitly included environment names.
public IReadOnlyList<string> IncludedEnvironmentNames { get; }Property Value
Section titled “Property Value”IncludedModuleIds
Section titled “ IncludedModuleIds”Gets the explicitly included module identifiers.
public IReadOnlyList<string> IncludedModuleIds { get; }Property Value
Section titled “Property Value”IncludedSubjectIds
Section titled “ IncludedSubjectIds”Gets the explicitly included subject identifiers.
public IReadOnlyList<string> IncludedSubjectIds { get; }Property Value
Section titled “Property Value”IncludedTags
Section titled “ IncludedTags”Gets the explicitly included descriptive tags.
public IReadOnlyList<string> IncludedTags { get; }Property Value
Section titled “Property Value”IncludedTenantIds
Section titled “ IncludedTenantIds”Gets the explicitly included tenant identifiers.
public IReadOnlyList<string> IncludedTenantIds { get; }Property Value
Section titled “Property Value”IncludedTransportIds
Section titled “ IncludedTransportIds”Gets the explicitly included transport identifiers.
public IReadOnlyList<string> IncludedTransportIds { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”FromSection(IConfigurationSection)
Section titled “ FromSection(IConfigurationSection)”Reads feature-flag targeting settings from the supplied configuration section.
public static FeatureFlagTargetingSettings FromSection(IConfigurationSection section)Parameters
Section titled “Parameters”section IConfigurationSection
The configuration section that contains the targeting settings.
Returns
Section titled “Returns”The parsed targeting settings.