Class FeatureFlagTargetingDescriptor
Namespace: Cephalon.Abstractions.Features
Assembly: Cephalon.Abstractions.dll
Describes the optional targeting constraints that govern when a feature flag is considered active for a given runtime evaluation context.
public sealed class FeatureFlagTargetingDescriptorInheritance
Section titled “Inheritance”object ← FeatureFlagTargetingDescriptor
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”FeatureFlagTargetingDescriptor(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 “ FeatureFlagTargetingDescriptor(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 constraints.
public FeatureFlagTargetingDescriptor(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 module identifiers that are explicitly included in the targeted audience.
excludedModuleIds IReadOnlyList<string>?
The module identifiers that are explicitly excluded from the targeted audience.
includedBehaviorIds IReadOnlyList<string>?
The behavior identifiers that are explicitly included in the targeted audience.
excludedBehaviorIds IReadOnlyList<string>?
The behavior identifiers that are explicitly excluded from the targeted audience.
includedCapabilityKeys IReadOnlyList<string>?
The capability keys that are explicitly included in the targeted audience.
excludedCapabilityKeys IReadOnlyList<string>?
The capability keys that are explicitly excluded from the targeted audience.
includedTransportIds IReadOnlyList<string>?
The transport identifiers that are explicitly included in the targeted audience.
excludedTransportIds IReadOnlyList<string>?
The transport identifiers that are explicitly excluded from the targeted audience.
includedEnvironmentNames IReadOnlyList<string>?
The environment names that are explicitly included in the targeted audience.
excludedEnvironmentNames IReadOnlyList<string>?
The environment names that are explicitly excluded from the targeted audience.
includedTenantIds IReadOnlyList<string>?
The tenant identifiers that are explicitly included in the targeted audience.
excludedTenantIds IReadOnlyList<string>?
The tenant identifiers that are explicitly excluded from the targeted audience.
includedSubjectIds IReadOnlyList<string>?
The subject identifiers that are explicitly included in the targeted audience.
excludedSubjectIds IReadOnlyList<string>?
The subject identifiers that are explicitly excluded from the targeted audience.
includedTags IReadOnlyList<string>?
The descriptive tags that are explicitly included in the targeted audience.
excludedTags IReadOnlyList<string>?
The descriptive tags that are explicitly excluded from the targeted audience.
Properties
Section titled “Properties”Gets an empty targeting descriptor with no constraints.
public static FeatureFlagTargetingDescriptor Empty { get; }Property Value
Section titled “Property Value”FeatureFlagTargetingDescriptor
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; }