public CloseSolutionCommandDefinition() { command = ReactiveCommand.Create(); command.Subscribe(async _ => { var shell = IoC.Get<IShell>(); await shell.CloseSolutionAsync(); }); }