mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
27 lines
566 B
C#
27 lines
566 B
C#
|
|
using LanMountainDesktop.PluginIsolation.Contracts;
|
||
|
|
|
||
|
|
namespace LanMountainDesktop.PluginSdk;
|
||
|
|
|
||
|
|
public interface IPluginWorkerContext
|
||
|
|
{
|
||
|
|
string PluginId { get; }
|
||
|
|
|
||
|
|
PluginManifest Manifest { get; }
|
||
|
|
|
||
|
|
PluginRuntimeMode RuntimeMode { get; }
|
||
|
|
|
||
|
|
string SessionId { get; }
|
||
|
|
|
||
|
|
string HostPipeName { get; }
|
||
|
|
|
||
|
|
string ProtocolVersion { get; }
|
||
|
|
|
||
|
|
string PluginDirectory { get; }
|
||
|
|
|
||
|
|
string DataDirectory { get; }
|
||
|
|
|
||
|
|
IReadOnlyList<PluginCapabilityDeclaration> GrantedCapabilities { get; }
|
||
|
|
|
||
|
|
IReadOnlyDictionary<string, string> StartupProperties { get; }
|
||
|
|
}
|