C# Class NuGet.Services.Work.Jobs.Models.PackageOwnerAssertion

Inheritance: OwnerAssertion
ファイルを表示 Open project: NuGet/NuGet.Services.Work

Private Properties

Property Type Description
PackageOwnerAssertion Newtonsoft.Json

Public Methods

Method Description
PackageOwnerAssertion ( ) : Newtonsoft.Json

Adding a parameterless default constructor for supporting Dapper and have internal constructor for writing simple unit tests Could have added a constructor with a signature matching the sql query, but this is less code

Private Methods

Method Description
PackageOwnerAssertion ( string packageId, string version, string username, bool exists ) : Newtonsoft.Json

Method Details

PackageOwnerAssertion() public method

Adding a parameterless default constructor for supporting Dapper and have internal constructor for writing simple unit tests Could have added a constructor with a signature matching the sql query, but this is less code
public PackageOwnerAssertion ( ) : Newtonsoft.Json
return Newtonsoft.Json