public bool Equals()

in nuget-extensions/nuget-commands/src/Data/NuGetSource.cs [58:67]


    public bool Equals(INuGetSource x, INuGetSource y)
    {
      if (x == null && y == null) return true;
      if (x == null || y == null) return false;

      if (!SourceComparer.Equals(x.Source, y.Source)) return false;
      if (x.Username != y.Username) return false;
      if (x.Password != y.Password) return false;
      return true;
    }