Microsoft.Protocols.TestSuites.SharedAdapter.ExGuid.Equals C# (CSharp) Method

Equals() public method

Override the Equals method.
public Equals ( object obj ) : bool
obj object Specify the object.
return bool
        public override bool Equals(object obj)
        {
            ExGuid another = obj as ExGuid;

            if (another == null)
            {
                return false;
            }

            if (this.GUID != null && another.GUID != null)
            {
                return another.GUID.Equals(this.GUID) && another.Value == this.Value;
            }

            return false;
        }