Table of Contents

Class ToggleMessagingCommandHandler

Namespace
Loehnert.Lisrt.Messaging.Commands
Assembly
Loehnert.Lisrt.dll

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 MessagingViewModel

Messaging view model for toggle.

Methods

Run(Command)

Toggles the visibility for the messaging control.

public override Task Run(Command command)

Parameters

command Command

The executing command.

Returns

Task

Completed when completed.