Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

Commit

Permalink
Merge pull request #3 from NuGet/daravind/#30-PackageRefConstructor
Browse files Browse the repository at this point in the history
Fixes NuGet/NuGetGallery#1897 - Added a packageref constructor
  • Loading branch information
deepakaravindr committed Feb 20, 2014
2 parents 0ad88e6 + 2287958 commit 4cbca0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/NuGet.Services.Work/Jobs/Models/PackageRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ namespace NuGet.Services.Work.Jobs.Models
{
public class PackageRef
{
public PackageRef(string id, string version, string hash)
{
Id = id;
Version = version;
Hash = hash;
}
public PackageRef(string id, string version, string hash, DateTime lastEdited)
{
Id = id;
Expand Down

0 comments on commit 4cbca0d

Please sign in to comment.