-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathVariantAssignmentReason.cs
More file actions
46 lines (40 loc) · 1.38 KB
/
VariantAssignmentReason.cs
File metadata and controls
46 lines (40 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
namespace Microsoft.FeatureManagement.Telemetry
{
/// <summary>
/// The reason the variant was assigned during the evaluation of a feature.
/// </summary>
public enum VariantAssignmentReason
{
/// <summary>
/// Variant allocation did not happen. No variant is assigned.
/// </summary>
None,
/// <summary>
/// The default variant is assigned when a feature flag is disabled.
/// </summary>
DefaultWhenDisabled,
/// <summary>
/// The default variant is assigned because of no applicable user/group/percentile allocation when a feature flag is enabled.
/// </summary>
DefaultWhenEnabled,
/// <summary>
/// The variant is assigned because of the user allocation when a feature flag is enabled.
/// </summary>
User,
/// <summary>
/// The variant is assigned because of the group allocation when a feature flag is enabled.
/// </summary>
Group,
/// <summary>
/// The variant is assigned because of the percentile allocation when a feature flag is enabled.
/// </summary>
Percentile,
/// <summary>
/// The variant is assigned because of a matching filter.
/// </summary>
Filter
}
}