Bottles.PackageInfo.Equals C# (CSharp) Method

Equals() public method

public Equals ( PackageInfo other ) : bool
other PackageInfo
return bool
        public bool Equals(PackageInfo other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;
            return Equals(other.Name, Name) && Equals(other.Description, Description);
        }

Same methods

PackageInfo::Equals ( object obj ) : bool