Example #1
0
 protected bool Equals(SafetyEnum <TFilter> other)
 {
     return(_mask == other._mask);
 }
Example #2
0
 /// <summary>
 /// Сравнение с другим перечислением.
 /// </summary>
 /// <param name="other">Другое перечисление.</param>
 /// <returns></returns>
 protected bool Equals(SafetyEnum <TFilter> other)
 {
     return(_value == other._value);
 }
Example #3
0
 /// <inheritdoc />
 public int GetHashCode(SafetyEnum <TFilter> obj)
 {
     return(obj._value.GetHashCode());
 }
Example #4
0
 /// <inheritdoc />
 public bool Equals(SafetyEnum <TFilter> other)
 {
     return(Equals(x: this, y: other));
 }
Example #5
0
 /// <inheritdoc />
 public bool Equals(SafetyEnum <TFilter> x, SafetyEnum <TFilter> y)
 {
     return(x == y);
 }