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