private void OnAppBuildFailedRecieved(AppBuildFailed buildFailedMessage) { var errorMessage = new AppBuildMessage(buildFailedMessage.Reason) { Project = ViewModel.Service.ProjectName, Type = AppBuildMessageType.BuildError, }; ViewModel.MessagesListViewModel.AddMessage(errorMessage); SwitchToBuildMessagesList(); }
private void TriggerAppBuildFailedRecieved(AppBuildFailed buildFailedMessage) { if (AppBuildFailedRecieved != null) AppBuildFailedRecieved(buildFailedMessage); }
private void OnAppBuildFailedRecieved(AppBuildFailed buildFailedMessage) { AllowBuildingAppsAgain(); TriggerAppBuildFailedRecieved(buildFailedMessage); }
private void DispatchAndHandleBuildFailedRecievedEvent(AppBuildFailed buildFailedMessage) { Dispatcher.BeginInvoke(new Action(() => OnAppBuildFailedRecieved(buildFailedMessage))); }