Class DotComputePluginOptions
- Namespace
- DotCompute.Runtime.Configuration
- Assembly
- DotCompute.Runtime.dll
Configuration options for DotCompute plugin system
public class DotComputePluginOptions
- Inheritance
-
DotComputePluginOptions
- Inherited Members
Fields
SectionName
The section name.
public const string SectionName = "DotCompute:Plugins"
Field Value
Properties
EnableDependencyInjection
Gets or sets whether to enable dependency injection for plugins
public bool EnableDependencyInjection { get; set; }
Property Value
EnableHotReload
Gets or sets whether to enable hot reload of plugins
public bool EnableHotReload { get; set; }
Property Value
EnableIsolation
Gets or sets whether to enable plugin isolation
public bool EnableIsolation { get; set; }
Property Value
EnablePlugins
Gets or sets whether plugin loading is enabled
public bool EnablePlugins { get; set; }
Property Value
LoadTimeoutSeconds
Gets or sets the plugin load timeout in seconds
[Range(1, 120)]
public int LoadTimeoutSeconds { get; set; }
Property Value
MaxConcurrentLoads
Gets or sets the maximum number of concurrent plugin loads
[Range(1, 10)]
public int MaxConcurrentLoads { get; set; }
Property Value
PluginDirectories
Gets or sets the plugin directories to scan
public IList<string> PluginDirectories { get; init; }
Property Value
PluginLifetime
Gets or sets the service lifetime for plugin instances
public ServiceLifetime PluginLifetime { get; set; }
Property Value
PluginSettings
Gets or sets plugin-specific configuration
public Dictionary<string, object> PluginSettings { get; init; }
Property Value
TrustedPublishers
Gets or sets the trusted plugin publishers
public IList<string> TrustedPublishers { get; init; }
Property Value
ValidateSignatures
Gets or sets whether to validate plugin signatures
public bool ValidateSignatures { get; set; }