Class ToggleMessagingCommandHandler
ICommandHandler for changing the visibility of the messaging control.
[CommandHandler]
public class ToggleMessagingCommandHandler : CommandHandlerBase<ToggleMessagingCommandDefinition>, ICommandHandler<ToggleMessagingCommandDefinition>, ICommandHandler
- Inheritance
-
ToggleMessagingCommandHandler
- Implements
- Inherited Members
Constructors
ToggleMessagingCommandHandler(MessagingViewModel)
Initializes a new instance of the ToggleMessagingCommandHandler class.
[ImportingConstructor]
public ToggleMessagingCommandHandler(MessagingViewModel messagingVM)
Parameters
messagingVM
MessagingViewModelMessaging view model for toggle.
Methods
Run(Command)
Toggles the visibility for the messaging control.
public override Task Run(Command command)
Parameters
command
CommandThe executing command.