Table of Contents

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

Properties

ProviderName

Gets the unique name for this action provider (usually plugin name).

string ProviderName { get; }

Property Value

string

Methods

ExecuteAction(string, Dictionary<string, object>?)

Executes an action by name.

void ExecuteAction(string actionName, Dictionary<string, object>? context = null)

Parameters

actionName string

Name of the action to execute

context Dictionary<string, object>

Execution context (window system reference, etc.)

GetAvailableActions()

Gets all available actions this provider exports.

IReadOnlyList<ActionDescriptor> GetAvailableActions()

Returns

IReadOnlyList<ActionDescriptor>