-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Peter Csajtai <[email protected]>
- Loading branch information
Showing
12 changed files
with
51 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
namespace ConfigCat.Client; | ||
|
||
/// <summary> | ||
/// Prerequisite flag condition operator. | ||
/// Prerequisite flag comparison operator used during the evaluation process. | ||
/// </summary> | ||
public enum PrerequisiteFlagComparator : byte | ||
{ | ||
/// <summary> | ||
/// EQUALS - Is the evaluated value of the specified prerequisite flag equal to the comparison value? | ||
/// EQUALS - It matches when the evaluated value of the specified prerequisite flag is equal to the comparison value. | ||
/// </summary> | ||
Equals = 0, | ||
|
||
/// <summary> | ||
/// NOT EQUALS - Is the evaluated value of the specified prerequisite flag not equal to the comparison value? | ||
/// NOT EQUALS - It matches when the evaluated value of the specified prerequisite flag is not equal to the comparison value. | ||
/// </summary> | ||
NotEquals = 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
namespace ConfigCat.Client; | ||
|
||
/// <summary> | ||
/// Segment condition operator. | ||
/// Segment comparison operator used during the evaluation process. | ||
/// </summary> | ||
public enum SegmentComparator : byte | ||
{ | ||
/// <summary> | ||
/// IS IN SEGMENT - Does the conditions of the specified segment evaluate to true? | ||
/// IS IN SEGMENT - It matches when the conditions of the specified segment are evaluated to true. | ||
/// </summary> | ||
IsIn, | ||
|
||
/// <summary> | ||
/// IS NOT IN SEGMENT - Does the conditions of the specified segment evaluate to false? | ||
/// IS NOT IN SEGMENT - It matches when the conditions of the specified segment are evaluated to false. | ||
/// </summary> | ||
IsNotIn, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,137 +1,137 @@ | ||
namespace ConfigCat.Client; | ||
|
||
/// <summary> | ||
/// User condition operator. | ||
/// User Object attribute comparison operator used during the evaluation process. | ||
/// </summary> | ||
public enum UserComparator : byte | ||
{ | ||
/// <summary> | ||
/// CONTAINS ANY OF - Does the comparison attribute contain any of the comparison values as a substring? | ||
/// CONTAINS ANY OF - It matches when the comparison attribute contains any comparison values as a substring. | ||
/// </summary> | ||
Contains = 2, | ||
|
||
/// <summary> | ||
/// NOT CONTAINS ANY OF - Does the comparison attribute not contain any of the comparison values as a substring? | ||
/// NOT CONTAINS ANY OF - It matches when the comparison attribute does not contain any comparison values as a substring. | ||
/// </summary> | ||
NotContains = 3, | ||
|
||
/// <summary> | ||
/// IS ONE OF (semver) - Is the comparison attribute interpreted as a semantic version equal to any of the comparison values? | ||
/// IS ONE OF (semver) - It matches when the comparison attribute interpreted as a semantic version is equal to any of the comparison values. | ||
/// </summary> | ||
SemVerOneOf = 4, | ||
|
||
/// <summary> | ||
/// IS NOT ONE OF (semver) - Is the comparison attribute interpreted as a semantic version not equal to any of the comparison values? | ||
/// IS NOT ONE OF (semver) - It matches when the comparison attribute interpreted as a semantic version is not equal to any of the comparison values. | ||
/// </summary> | ||
SemVerNotOneOf = 5, | ||
|
||
/// <summary> | ||
/// < (semver) - Is the comparison attribute interpreted as a semantic version less than the comparison value? | ||
/// < (semver) - It matches when the comparison attribute interpreted as a semantic version is less than the comparison value. | ||
/// </summary> | ||
SemVerLessThan = 6, | ||
|
||
/// <summary> | ||
/// <= (semver) - Is the comparison attribute interpreted as a semantic version less than or equal to the comparison value? | ||
/// <= (semver) - It matches when the comparison attribute interpreted as a semantic version is less than or equal to the comparison value. | ||
/// </summary> | ||
SemVerLessThanEqual = 7, | ||
|
||
/// <summary> | ||
/// > (semver) - Is the comparison attribute interpreted as a semantic version greater than the comparison value? | ||
/// > (semver) - It matches when the comparison attribute interpreted as a semantic version is greater than the comparison value. | ||
/// </summary> | ||
SemVerGreaterThan = 8, | ||
|
||
/// <summary> | ||
/// >= (semver) - Is the comparison attribute interpreted as a semantic version greater than or equal to the comparison value? | ||
/// >= (semver) - It matches when the comparison attribute interpreted as a semantic version is greater than or equal to the comparison value. | ||
/// </summary> | ||
SemVerGreaterThanEqual = 9, | ||
|
||
/// <summary> | ||
/// = (number) - Is the comparison attribute interpreted as a decimal number equal to the comparison value? | ||
/// = (number) - It matches when the comparison attribute interpreted as a decimal number is equal to the comparison value. | ||
/// </summary> | ||
NumberEqual = 10, | ||
|
||
/// <summary> | ||
/// != (number) - Is the comparison attribute interpreted as a decimal number not equal to the comparison value? | ||
/// != (number) - It matches when the comparison attribute interpreted as a decimal number is not equal to the comparison value. | ||
/// </summary> | ||
NumberNotEqual = 11, | ||
|
||
/// <summary> | ||
/// < (number) - Is the comparison attribute interpreted as a decimal number less than the comparison value? | ||
/// < (number) - It matches when the comparison attribute interpreted as a decimal number is less than the comparison value. | ||
/// </summary> | ||
NumberLessThan = 12, | ||
|
||
/// <summary> | ||
/// <= (number) - Is the comparison attribute interpreted as a decimal number less than or equal to the comparison value? | ||
/// <= (number) - It matches when the comparison attribute interpreted as a decimal number is less than or equal to the comparison value. | ||
/// </summary> | ||
NumberLessThanEqual = 13, | ||
|
||
/// <summary> | ||
/// > (number) - Is the comparison attribute interpreted as a decimal number greater than the comparison value? | ||
/// > (number) - It matches when the comparison attribute interpreted as a decimal number is greater than the comparison value. | ||
/// </summary> | ||
NumberGreaterThan = 14, | ||
|
||
/// <summary> | ||
/// >= (number) - Is the comparison attribute interpreted as a decimal number greater than or equal to the comparison value? | ||
/// >= (number) - It matches when the comparison attribute interpreted as a decimal number is greater than or equal to the comparison value. | ||
/// </summary> | ||
NumberGreaterThanEqual = 15, | ||
|
||
/// <summary> | ||
/// IS ONE OF (hashed) - Is the comparison attribute equal to any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// IS ONE OF (hashed) - It matches when the comparison attribute is equal to any of the comparison values (where the comparison is performed using the SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveOneOf = 16, | ||
|
||
/// <summary> | ||
/// IS NOT ONE OF (hashed) - Is the comparison attribute not equal to any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// IS NOT ONE OF (hashed) - It matches when the comparison attribute is not equal to any of the comparison values (where the comparison is performed using the SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveNotOneOf = 17, | ||
|
||
/// <summary> | ||
/// BEFORE (UTC datetime) - Is the comparison attribute interpreted as the seconds elapsed since <see href="https://en.wikipedia.org/wiki/Unix_time">Unix Epoch</see> less than the comparison value? | ||
/// BEFORE (UTC datetime) - It matches when the comparison attribute interpreted as the seconds elapsed since <see href="https://en.wikipedia.org/wiki/Unix_time">Unix Epoch</see> is less than the comparison value. | ||
/// </summary> | ||
DateTimeBefore = 18, | ||
|
||
/// <summary> | ||
/// AFTER (UTC datetime) - Is the comparison attribute interpreted as the seconds elapsed since <see href="https://en.wikipedia.org/wiki/Unix_time">Unix Epoch</see> greater than the comparison value? | ||
/// AFTER (UTC datetime) - It matches when the comparison attribute interpreted as the seconds elapsed since <see href="https://en.wikipedia.org/wiki/Unix_time">Unix Epoch</see> is greater than the comparison value. | ||
/// </summary> | ||
DateTimeAfter = 19, | ||
|
||
/// <summary> | ||
/// EQUALS (hashed) - Is the comparison attribute equal to the comparison value (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// EQUALS (hashed) - It matches when the comparison attribute is equal to the comparison value (where the comparison is performed using the SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveTextEquals = 20, | ||
|
||
/// <summary> | ||
/// NOT EQUALS (hashed) - Is the comparison attribute not equal to the comparison value (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// NOT EQUALS (hashed) - It matches when the comparison attribute is not equal to the comparison value (where the comparison is performed using the SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveTextNotEquals = 21, | ||
|
||
/// <summary> | ||
/// STARTS WITH ANY OF (hashed) - Does the comparison attribute start with any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// STARTS WITH ANY OF (hashed) - It matches when the comparison attribute starts with any of the comparison values (where the comparison is performed using the SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveTextStartsWith = 22, | ||
|
||
/// <summary> | ||
/// NOT STARTS WITH ANY OF (hashed) - Does the comparison attribute not start with any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// NOT STARTS WITH ANY OF (hashed) - It matches when the comparison attribute does not start with any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveTextNotStartsWith = 23, | ||
|
||
/// <summary> | ||
/// ENDS WITH ANY OF (hashed) - Does the comparison attribute end with any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// ENDS WITH ANY OF (hashed) - It matches when the comparison attribute ends with any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveTextEndsWith = 24, | ||
|
||
/// <summary> | ||
/// NOT ENDS WITH ANY OF (hashed) - Does the comparison attribute not end with any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// NOT ENDS WITH ANY OF (hashed) - It matches when the comparison attribute does not end with any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveTextNotEndsWith = 25, | ||
|
||
/// <summary> | ||
/// ARRAY CONTAINS ANY OF (hashed) - Does the comparison attribute interpreted as a comma-separated list contain any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// ARRAY CONTAINS ANY OF (hashed) - It matches when the comparison attribute interpreted as a comma-separated list contains any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveArrayContains = 26, | ||
|
||
/// <summary> | ||
/// ARRAY NOT CONTAINS ANY OF (hashed) - Does the comparison attribute interpreted as a comma-separated list not contain any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values)? | ||
/// ARRAY NOT CONTAINS ANY OF (hashed) - It matches when the comparison attribute interpreted as a comma-separated list does not contain any of the comparison values (where the comparison is performed using the salted SHA256 hashes of the values). | ||
/// </summary> | ||
SensitiveArrayNotContains = 27, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters