private static void OnMenuItemClick <T>(AbstractDataUICommand <T> command, Func <T> dataProvider) { try { command.Run(); } catch (Exception e) { command.MessageBus.Log(command, $"Command ({command.Name}) failed !", e); } }
private static void OnMenuItemClick <T>(AbstractDataUICommand <T> command, Func <T> dataProvider) { command.Run(); }