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

This assertion is the full assertion containing all the possible fields and is used during 'Add Package' or 'Edit Package' As with all its base classes, the owners field will be ignored, if the Owners field is null or empty
Inheritance: PackageMinAssertionSet
Afficher le fichier Open project: NuGet/NuGet.Services.Work

Private Properties

Свойство Type Description
PackageAssertionSet Newtonsoft.Json
PackageAssertionSet Newtonsoft.Json

Méthodes publiques

Méthode Description
PackageAssertionSet ( ) : 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

Méthode Description
PackageAssertionSet ( string packageId, string version, bool exists ) : Newtonsoft.Json
PackageAssertionSet ( string packageId, string version, bool exists, object nupkg, bool listed, System.DateTime created, System.DateTime published ) : Newtonsoft.Json

Method Details

PackageAssertionSet() public méthode

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 PackageAssertionSet ( ) : Newtonsoft.Json
Résultat Newtonsoft.Json