Interface IFeatureFlagProvider
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Features
Assembly: Cephalon.Abstractions.dll
Evaluates Cephalon feature-flag provider bindings against external or provider-owned state.
public interface IFeatureFlagProviderRemarks
Section titled “Remarks”Implementations are expected to answer from cached or in-memory provider state rather than performing network I/O on the hot execution path.
Properties
Section titled “Properties”ProviderId
Section titled “ ProviderId”Gets the stable provider identifier used by feature-flag bindings.
string ProviderId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Evaluate(FeatureFlagProviderBindingDescriptor, FeatureFlagDescriptor, FeatureFlagEvaluationContext?)
Section titled “ Evaluate(FeatureFlagProviderBindingDescriptor, FeatureFlagDescriptor, FeatureFlagEvaluationContext?)”Evaluates one provider binding for the supplied Cephalon feature flag and runtime context.
FeatureFlagProviderEvaluationResult Evaluate(FeatureFlagProviderBindingDescriptor binding, FeatureFlagDescriptor featureFlag, FeatureFlagEvaluationContext? context = null)Parameters
Section titled “Parameters”binding FeatureFlagProviderBindingDescriptor
The provider binding attached to the Cephalon feature flag.
featureFlag FeatureFlagDescriptor
The owning Cephalon feature-flag descriptor.
context FeatureFlagEvaluationContext?
The optional runtime context used for evaluation.
Returns
Section titled “Returns”FeatureFlagProviderEvaluationResult
The provider evaluation result.