BitMask.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
    public override bool Equals( object obj )
    {
        // If parameter is null return false.
        if( null == obj ) return false;

        // If parameter cannot be cast to BitMask return false.
        BitMask m = obj as BitMask;
        if( null == (object)m ) return false;

        return _isEqual( this, m );
    }