Class FeatureFlagProviderBindingDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Features
Assembly: Cephalon.Abstractions.dll
Describes one external provider binding attached to a Cephalon-owned feature flag.
public sealed class FeatureFlagProviderBindingDescriptorInheritance
Section titled “Inheritance”object ← FeatureFlagProviderBindingDescriptor
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”FeatureFlagProviderBindingDescriptor(string, string?, IReadOnlyDictionary<string, string>?)
Section titled “ FeatureFlagProviderBindingDescriptor(string, string?, IReadOnlyDictionary<string, string>?)”Creates a feature-flag provider binding.
public FeatureFlagProviderBindingDescriptor(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. When omitted, the owning Cephalon feature-flag id is used.
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”ResolveProviderFeatureId(string)
Section titled “ ResolveProviderFeatureId(string)”Resolves the provider-side feature identifier for the supplied Cephalon feature flag.
public string ResolveProviderFeatureId(string featureFlagId)Parameters
Section titled “Parameters”featureFlagId string
The owning Cephalon feature-flag identifier.
Returns
Section titled “Returns”The provider-side feature identifier.