C# Класс 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
Наследование: IPackageAssertionSet
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
PackageMinAssertionSet Newtonsoft.Json

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
PackageMinAssertionSet ( string packageId, string version, bool exists ) : Newtonsoft.Json

Описание методов

PackageMinAssertionSet() публичный Метод

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
Результат Newtonsoft.Json

ShouldSerializeOwners() публичный Метод

public ShouldSerializeOwners ( ) : bool
Результат bool