private void UpdateSetUp(ApplicationSetUp applicationSetUp) { _ApplicationSetUp = applicationSetUp; DebugCommands.Clear(); switch (Mode) { case ApplicationMode.Live: DebugCommands["Reload"] = new RelayToogleCommand <ICompleteWebViewComponent>(htmlView => htmlView.ReloadAsync()); break; case ApplicationMode.Dev: DebugCommands["To Live"] = new RelayToogleCommand <ICompleteWebViewComponent>(GoLive); break; } }
private void UpdateSetUp(ApplicationSetUp applicationSetUp) { _ApplicationSetUp = applicationSetUp; UpdateCommands(); }