mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:45:41 +00:00
[ci skip] Rename Clusivity.Exclusive to Clusivity.None
https://sonarcloud.io/project/issues?fileUuids=AX9gUgFivY1Q2LeuiUva&pullRequest=43&id=oliverbooth_X10D&open=AX75E353Zn_cGN5aPZcR
This commit is contained in:
parent
d8877a293e
commit
5b5fa42b46
@ -9,7 +9,7 @@ public enum Clusivity : byte
|
||||
/// <summary>
|
||||
/// Indicates that the comparison will be exclusive.
|
||||
/// </summary>
|
||||
Exclusive = 0,
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that the comparison will treat the upper bound as exclusive.
|
||||
|
@ -44,7 +44,7 @@ public static class ComparableExtensions
|
||||
/// // True
|
||||
/// </code>
|
||||
/// </example>
|
||||
public static bool Between<T1, T2, T3>(this T1 value, T2 lower, T3 upper, Clusivity clusivity = Clusivity.Exclusive)
|
||||
public static bool Between<T1, T2, T3>(this T1 value, T2 lower, T3 upper, Clusivity clusivity = Clusivity.None)
|
||||
where T1 : IComparable<T2>, IComparable<T3>
|
||||
where T2 : IComparable<T3>
|
||||
where T3 : IComparable<T2>
|
||||
|
Loading…
Reference in New Issue
Block a user