Class CommandExtensions
- Namespace
- CarinaStudio.Windows.Input
- Assembly
- CarinaStudio.AppBase.Application.dll
Extensions for ICommand.
public static class CommandExtensions
- Inheritance
-
CommandExtensions
- Inherited Members
Methods
TryExecute(ICommand, object?)
Check whether command can be executed and execute.
public static bool TryExecute(this ICommand command, object? parameter = null)
Parameters
Returns
- bool
True if command can be executed and has been executed.