public static void TryExecute(this ViewModelCommandManager commandManager, string commandName) { commandManager.Get(commandName).TryExecute(); }
public static async Task TryExecuteAsync(this ViewModelCommandManager commandManager, string commandName, object arg) { await commandManager.Get(commandName).TryExecuteAsync(arg); }