AdvancedLauncher.SDK.Model.Config.Profile.Equals C# (CSharp) Method

Equals() public method

Determines whether this instance and another specified Profile are the same
public Equals ( object obj ) : bool
obj object The object to compare to this instance
return bool
        public override bool Equals(object obj)
        {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
            if (!this.GetType().IsAssignableFrom(obj.GetType())) {
                return false;
            }
            Profile other = (Profile)obj;
            if (!Guid.Equals(other.Guid)) {
                return false;
            }
            return this.GetHashCode() == obj.GetHashCode();
        }