Interface IPluginActionProvider
- Namespace
- SharpConsoleUI.Plugins
- Assembly
- SharpConsoleUI.dll
Plugin action provider using reflection-free pattern. Allows plugins from external DLLs to export Start menu actions without shared interfaces.
public interface IPluginActionProvider
- Extension Methods
Properties
ProviderName
Gets the unique name for this action provider (usually plugin name).
string ProviderName { get; }
Property Value
Methods
ExecuteAction(string, Dictionary<string, object>?)
Executes an action by name.
void ExecuteAction(string actionName, Dictionary<string, object>? context = null)
Parameters
actionNamestringName of the action to execute
contextDictionary<string, object>Execution context (window system reference, etc.)
GetAvailableActions()
Gets all available actions this provider exports.
IReadOnlyList<ActionDescriptor> GetAvailableActions()