Class ViewLoginCommandHandler
ICommandHandler to log a user in.
[CommandHandler]
public class ViewLoginCommandHandler : CommandHandlerBase<ViewLoginCommandDefinition>, ICommandHandler<ViewLoginCommandDefinition>, ICommandHandler
- Inheritance
-
ViewLoginCommandHandler
- Implements
- Inherited Members
Constructors
ViewLoginCommandHandler(IUserManager)
Initializes a new instance of the ViewLoginCommandHandler class.
[ImportingConstructor]
public ViewLoginCommandHandler(IUserManager userManager)
Parameters
userManagerIUserManagerManager for the users.
Exceptions
- ArgumentNullException
Thrown when
userManageris null.
Methods
Run(Command)
Executes the login method of the IUserManager. Opens a login window by default.
public override Task Run(Command command)
Parameters
commandCommandThe executing command.