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