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

NOTE THAT this assertion has the 'packageVersion' information in addition to the 'packageId', 'Owners' and 'Exists' information from its base classes This assertion will be directly used for a delete package assertion. If there are owner assertions, they will get added here as well. If not, they will be ignored This assertion does not contain the other information used during 'Add Package' or 'Edit Package' like 'Created Date' and so on
Inheritance: IPackageAssertionSet
Afficher le fichier Open project: NuGet/NuGet.Services.Work

Private Properties

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

Méthodes publiques

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

ShouldSerializeOwners ( ) : bool

Private Methods

Méthode Description
PackageMinAssertionSet ( string packageId, string version, bool exists ) : Newtonsoft.Json

Method Details

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

ShouldSerializeOwners() public méthode

public ShouldSerializeOwners ( ) : bool
Résultat bool