Ejemplo n.º 1
0
 private void TriggerAppBuildFailedRecieved(AppBuildFailed buildFailedMessage)
 {
     if (AppBuildFailedRecieved != null)
     {
         AppBuildFailedRecieved(buildFailedMessage);
     }
 }
Ejemplo n.º 2
0
        private void OnAppBuildFailedRecieved(AppBuildFailed buildFailedMessage)
        {
            var errorMessage = new AppBuildMessage(buildFailedMessage.Reason)
            {
                Project = ViewModel.Service.ProjectName,
                Type    = AppBuildMessageType.BuildError,
            };

            ViewModel.MessagesListViewModel.AddMessage(errorMessage);
            SwitchToBuildMessagesList();
        }
Ejemplo n.º 3
0
 private void DispatchAndHandleBuildFailedRecievedEvent(AppBuildFailed buildFailedMessage)
 {
     Dispatcher.BeginInvoke(new Action(() => OnAppBuildFailedRecieved(buildFailedMessage)));
 }
        public void AppBuildFailedMessageMustBeRestorable()
        {
            var failedMessage = new AppBuildFailed("Whatever");

            MessageTestExtensions.AssertObjectWhenSavedAndRestoredByToString(failedMessage);
        }
Ejemplo n.º 5
0
 private void OnAppBuildFailedRecieved(AppBuildFailed buildFailedMessage)
 {
     AllowBuildingAppsAgain();
     TriggerAppBuildFailedRecieved(buildFailedMessage);
 }
Ejemplo n.º 6
0
		public void AppBuildFailedMessageMustBeRestorable()
		{
			var failedMessage = new AppBuildFailed("Whatever");
			MessageTestExtensions.AssertObjectWhenSavedAndRestoredByToString(failedMessage);
		}