Class FeatureFlagProviderEvaluationResult
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Features
Assembly: Cephalon.Abstractions.dll
Describes the result of evaluating one feature-flag provider binding.
public sealed record FeatureFlagProviderEvaluationResult : IEquatable<FeatureFlagProviderEvaluationResult>Inheritance
Section titled “Inheritance”object ← FeatureFlagProviderEvaluationResult
Implements
Section titled “Implements”IEquatable<FeatureFlagProviderEvaluationResult>
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”FeatureFlagProviderEvaluationResult(string, string, bool, bool, string)
Section titled “ FeatureFlagProviderEvaluationResult(string, string, bool, bool, string)”Describes the result of evaluating one feature-flag provider binding.
public FeatureFlagProviderEvaluationResult(string ProviderId, string ProviderFeatureId, bool IsDefined, bool IsEnabled, string Reason)Parameters
Section titled “Parameters”ProviderId string
The external provider identifier.
ProviderFeatureId string
The provider-side feature identifier.
IsDefined bool
Indicates whether the provider recognizes the requested feature.
IsEnabled bool
Indicates whether the provider resolved the feature to enabled.
Reason string
The operator-facing explanation for the provider evaluation result.
Properties
Section titled “Properties”IsDefined
Section titled “ IsDefined”Indicates whether the provider recognizes the requested feature.
public bool IsDefined { get; init; }Property Value
Section titled “Property Value”IsEnabled
Section titled “ IsEnabled”Indicates whether the provider resolved the feature to enabled.
public bool IsEnabled { get; init; }Property Value
Section titled “Property Value”ProviderFeatureId
Section titled “ ProviderFeatureId”The provider-side feature identifier.
public string ProviderFeatureId { get; init; }Property Value
Section titled “Property Value”ProviderId
Section titled “ ProviderId”The external provider identifier.
public string ProviderId { get; init; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”The operator-facing explanation for the provider evaluation result.
public string Reason { get; init; }