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