ข้ามไปยังเนื้อหา

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>

objectFeatureFlagProviderEvaluationResult

IEquatable<FeatureFlagProviderEvaluationResult>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

Indicates whether the provider recognizes the requested feature.

public bool IsDefined { get; init; }

bool

Indicates whether the provider resolved the feature to enabled.

public bool IsEnabled { get; init; }

bool

The provider-side feature identifier.

public string ProviderFeatureId { get; init; }

string

The external provider identifier.

public string ProviderId { get; init; }

string

The operator-facing explanation for the provider evaluation result.

public string Reason { get; init; }

string