public CleanCommandDefinition() { _command = ReactiveCommand.Create(); _command.Subscribe(_ => { var shell = IoC.Get<IShell>(); shell.Clean(); }); }