Class PackagesDataStore
Inheritance
System.Object
PackagesDataStore
Assembly: OpenMod.NuGet.dll
Syntax
public class PackagesDataStore : object
Constructors
|
Improve this Doc
View Source
PackagesDataStore(String)
Declaration
public PackagesDataStore(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Methods
|
Improve this Doc
View Source
AddOrUpdatePackageIdentity(PackageIdentity)
Declaration
public Task AddOrUpdatePackageIdentity(PackageIdentity id)
Parameters
Type |
Name |
Description |
PackageIdentity |
id |
|
Returns
|
Improve this Doc
View Source
EnsureExistsAsync()
Declaration
public Task EnsureExistsAsync()
Returns
|
Improve this Doc
View Source
GetPackagesAsync()
Declaration
public Task<ICollection<PackageIdentity>> GetPackagesAsync()
Returns
Type |
Description |
Task<ICollection<PackageIdentity>> |
|
|
Improve this Doc
View Source
RemovePackageAsync(String)
Declaration
public Task<bool> RemovePackageAsync(string packageId)
Parameters
Type |
Name |
Description |
System.String |
packageId |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
Extension Methods