Class RoutedUICommandHandler<TCommandDefinition>
- Namespace
- Loehnert.Lisrt.Framework.Commands.Application
- Assembly
- Loehnert.Lisrt.dll
Base class to wrap a RoutedUICommand.
public abstract class RoutedUICommandHandler<TCommandDefinition> : ICommandHandler<TCommandDefinition>, ICommandHandler where TCommandDefinition : CommandDefinition
Type Parameters
TCommandDefinition
Type of related command definition.
- Inheritance
-
RoutedUICommandHandler<TCommandDefinition>
- Implements
-
ICommandHandler<TCommandDefinition>
- Derived
- Inherited Members
Properties
Command
Gets the wrapped command.
protected abstract RoutedUICommand Command { get; }
Property Value
Methods
Run(Command)
Runs the command.
public Task Run(Command command)
Parameters
command
CommandAssociated command.
Returns
- Task
A task that represents the command execution.
Update(Command)
Updates the command
.
public void Update(Command command)
Parameters
command
CommandCommand to update.