public void Initialize() { foreach (ICommand command in App.Kernel.GetAll<ICommand>()) { RegisterCommand(command); } }