6 writes to Action
Microsoft.Build (6)
BackEnd\Components\Scheduler\ScheduleResponse.cs (6)
105Action = type; 113Action = ScheduleActionType.CreateNode; 123Action = ScheduleActionType.SubmissionComplete; 132Action = ScheduleActionType.CircularDependency; 146Action = sendConfiguration ? ScheduleActionType.ScheduleWithConfiguration : ScheduleActionType.Schedule; 158Action = (unblocker.Result == null) ? ScheduleActionType.ResumeExecution : ScheduleActionType.ReportResults;
46 references to Action
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (3)
2614switch (response.Action) 2658if (response.Action == ScheduleActionType.ScheduleWithConfiguration) 2676ErrorUtilities.ThrowInternalError("Scheduling action {0} not handled.", response.Action);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1850if (response.Action == ScheduleActionType.SubmissionComplete)
BackEnd\Components\Scheduler\ScheduleResponse.cs (8)
236switch (Action) 240return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2}", Action, NodeId, Unblocker.BlockedRequestId); 243return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2} Parent {3}", Action, NodeId, BuildRequest.GlobalRequestId, BuildRequest.ParentGlobalRequestId); 246return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2} Parent {3} Configuration: {4}", Action, NodeId, BuildRequest.GlobalRequestId, BuildRequest.ParentGlobalRequestId, BuildRequest.ConfigurationId); 249return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2} Parent {3} Configuration: {4}", Action, NodeId, BuildRequest.GlobalRequestId, BuildRequest.ParentGlobalRequestId, BuildRequest.ConfigurationId); 252return String.Format(CultureInfo.CurrentCulture, "Act: {0} Submission: {1}", Action, BuildResult.SubmissionId); 255return String.Format(CultureInfo.CurrentCulture, "Act: {0} Count: {1}", Action, NumberOfNodesToCreate); 259return String.Format(CultureInfo.CurrentCulture, "Act: {0}", Action);
Microsoft.Build.Engine.UnitTests (34)
BackEnd\Scheduler_Tests.cs (34)
114Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 134Assert.Equal(ScheduleActionType.ReportResults, response[0].Action); 138Assert.Equal(ScheduleActionType.ResumeExecution, response[1].Action); 158Assert.Equal(ScheduleActionType.ReportResults, response[0].Action); 162Assert.Equal(ScheduleActionType.ResumeExecution, response[1].Action); 188Assert.Equal(ScheduleActionType.ReportResults, response[0].Action); 192Assert.Equal(ScheduleActionType.ResumeExecution, response[1].Action); 210Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 230Assert.Equal(ScheduleActionType.ReportResults, response[0].Action); 232Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].Action); 255Assert.Equal(ScheduleActionType.ReportResults, response[0].Action); 257Assert.Equal(ScheduleActionType.ReportResults, response[1].Action); 261Assert.Equal(ScheduleActionType.ResumeExecution, response[2].Action); 283Assert.Equal(ScheduleActionType.CreateNode, response[0].Action); 307Assert.Equal(ScheduleActionType.CreateNode, response[0].Action); 332Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 358Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 360Assert.Equal(ScheduleActionType.CreateNode, response[1].Action); 400Assert.Equal(ScheduleActionType.CreateNode, response[0].Action); 408Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, moreResponses[0].Action); 409Assert.Equal(ScheduleActionType.CreateNode, moreResponses[1].Action); 438Assert.Equal(ScheduleActionType.CreateNode, response[0].Action); 466Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 468Assert.Equal(ScheduleActionType.CreateNode, response[1].Action); 496Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 498Assert.Equal(ScheduleActionType.CreateNode, response[1].Action); 531Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 555Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].Action); 632Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].Action); 651Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].Action); 671Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].Action); 691Assert.Equal(ScheduleActionType.ReportResults, response[0].Action); 694Assert.Equal(ScheduleActionType.ResumeExecution, response[1].Action); 860if (response.Action == ScheduleActionType.CreateNode)