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

NOTE THAT this assertion has the 'packageId' and 'Owners' information only This is the least common denominator of all assertions. Just the packageId and list of owners If the owners list is null or empty, only the packageId will be serialized This assertion will be directly used when there are only 'Remove Owner' assertions on a package Even there is 1 AddOwner assertion, its immediate derived class will be need to be used
Inheritance: IAssertionSet
ファイルを表示 Open project: NuGet/NuGet.Services.Work

Public Methods

Method Description
PackageOwnerAssertionSet ( ) : Newtonsoft.Json
ShouldSerializeExists ( ) : bool

Private Methods

Method Description
PackageOwnerAssertionSet ( string packageId ) : Newtonsoft.Json

Method Details

PackageOwnerAssertionSet() public method

public PackageOwnerAssertionSet ( ) : Newtonsoft.Json
return Newtonsoft.Json

ShouldSerializeExists() public method

public ShouldSerializeExists ( ) : bool
return bool