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