using System; using System.Collections.Generic; namespace LANCommander.SDK.Plugins; /// /// Implemented by plugins that want to add PowerShell cmdlets or script modules into the /// LANCommander runspace. Register the implementation in ; /// the SDK's PowerShell runspace picks up all registered extensions when a script is executed. /// public interface IPluginPowerShellExtension { /// /// Returns cmdlet types (classes decorated with [Cmdlet]) to register into each runspace. /// IEnumerable GetCmdletTypes(); /// /// Returns absolute paths to PowerShell script modules (.psm1/.psd1) shipped with the plugin that /// should be imported into each runspace. /// IEnumerable GetModulePaths(); }