Class PluginRegistryStore
Persists installed plugin metadata to a JSON registry.
public sealed class PluginRegistryStore
- Inheritance
-
PluginRegistryStore
- Inherited Members
Constructors
PluginRegistryStore(string?)
public PluginRegistryStore(string? registryPath = null)
Parameters
registryPathstring
Properties
RegistryPath
public string RegistryPath { get; }
Property Value
Methods
FindAsync(string, CancellationToken)
public Task<InstalledPluginRecord?> FindAsync(string id, CancellationToken ct = default)
Parameters
idstringctCancellationToken
Returns
ListAsync(CancellationToken)
public Task<IReadOnlyList<InstalledPluginRecord>> ListAsync(CancellationToken ct = default)
Parameters
Returns
RemoveAsync(string, CancellationToken)
public Task<bool> RemoveAsync(string id, CancellationToken ct = default)
Parameters
idstringctCancellationToken
Returns
UpsertAsync(InstalledPluginRecord, CancellationToken)
public Task UpsertAsync(InstalledPluginRecord entry, CancellationToken ct = default)
Parameters
entryInstalledPluginRecordctCancellationToken