NuGet.VersionSpec.Equals C# (CSharp) Method

Equals() public method

public Equals ( VersionSpec other ) : bool
other VersionSpec
return bool
        public bool Equals(VersionSpec other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;
            return Equals(other.MinVersion, MinVersion) && other.IsMinInclusive.Equals(IsMinInclusive) && Equals(other.MaxVersion, MaxVersion) && other.IsMaxInclusive.Equals(IsMaxInclusive);
        }

Same methods

VersionSpec::Equals ( object obj ) : bool