Exemplo n.º 1
0
 /// <inheritdoc />
 public virtual bool Equals(ApiEnum <T>?other) =>
 !(other is null) &&
Exemplo n.º 2
0
 /// <inheritdoc />
 public virtual bool Equals(ApiEnum <T> other)
 {
     return(!(other is null) &&
            EqualityComparer <T> .Default.Equals(this.Value, other.Value) &&
            this.RawValue == other.RawValue);
 }