Class ViewThirdPartyLicensesCommandHandler
- Namespace
- Loehnert.Lisrt.ThirdPartyLicenses.Commands
- Assembly
- Loehnert.Lisrt.dll
ICommandHandler to open the open source licenses.
[CommandHandler]
public class ViewThirdPartyLicensesCommandHandler : CommandHandlerBase<ViewThirdPartyLicensesCommandDefinition>, ICommandHandler<ViewThirdPartyLicensesCommandDefinition>, ICommandHandler
- Inheritance
-
ViewThirdPartyLicensesCommandHandler
- Implements
- Inherited Members
Constructors
ViewThirdPartyLicensesCommandHandler(ILicenseService, IWindowManager)
Initializes a new instance of the ViewThirdPartyLicensesCommandHandler class.
[ImportingConstructor]
public ViewThirdPartyLicensesCommandHandler(ILicenseService licenseService, IWindowManager windowManager)
Parameters
licenseService
ILicenseServiceService for the licenses.
windowManager
IWindowManagerWindow manager.
Methods
Run(Command)
Opens the LicensesViewModel as dialog.
public override Task Run(Command command)
Parameters
command
CommandCommand.
Returns
- Task
The executing task.