Core/CafeLib.Core/Support/NonNullable.cs
/// <summary>
/// Determimes whether the values are equal.
/// </summary>
/// <param name="obj">object</param>
/// <returns>true if equals otherwise false.</returns>
Determimes whether the values are equal.
Determimes whether the values are equal .
public override bool Equals(object obj)
        {
            while (true)
            {
                switch (obj)
                {
                    case null:
                        return false;
                    case T x:
                        return Value.Equals(x);
                    case NonNullable<T> x:
                        obj = x;
                        break;
                    default:
                        return false;
                }
            }
        }
public override bool Equals ( object obj ) { while ( true ) { switch ( obj ) { case null : return false ; case T x : return Value . Equals ( x ) ; case NonNullable < T > x : obj = x ; break ; default : return false ; } } }
Determimes whether the values are equal.
Determimes whether the values are equal .
true if equals otherwise false.
true if equals otherwise false .
obj
object
None