OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class PackagesDataStore

Inheritance
System.Object
PackagesDataStore
Namespace: OpenMod.NuGet
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
Type Description
Task
| Improve this Doc View Source

EnsureExistsAsync()

Declaration
public Task EnsureExistsAsync()
Returns
Type Description
Task
| 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

DisposeHelper.DisposeSyncOrAsync(Object)