Provides an interface used to record the state of server packages.
Name | Description | |
---|---|---|
ServerCollectionContext |
Initializes a new instance of the ServerCollectionContext class. |
Name | Description | |
---|---|---|
ClearAllPackagesAsync(string packageType) |
Removes records for all packages of the specified type on the server in the current context. |
|
CreateOrUpdatePackageAsync(string packageType, string packageName, string packageVersion, string packageUrl) |
Creates a record of the specified package on the server in the current context, or updates an existing record. |
|
CreateOrUpdateUniversalPackageAsync(string packageType, string packageName, string packageVersion, string packageUrl, CollectedUniversalPackageData data) |
Creates a record of the specified universal package on the server in the current context, or updates an existing record. |
|
DeletePackageAsync(string packageType, string packageName) |
Deletes the record of the specified package on the server in the current context. It is not an error to delete a package that does not exist. |
|
Dispose |
Releases resources and commits changes. |
|
Dispose(bool disposing) |
Releases resources and commits changes. |