1 type derived from BuildFinishedEventArgs
Microsoft.Build.Framework.UnitTests (1)
BuildFinishedEventArgs_Tests.cs (1)
37private sealed class BuildFinishedEventArgs2 : BuildFinishedEventArgs
53 instantiations of BuildFinishedEventArgs
Microsoft.Build (3)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
386BuildFinishedEventArgs buildEvent = new BuildFinishedEventArgs(message, null /* no help keyword */, success);
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
626var e = new BuildFinishedEventArgs(
LogMessagePacketBase.cs (1)
623LoggingEventType.BuildFinishedEvent => new BuildFinishedEventArgs(null, null, false),
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
131return new BuildFinishedEventArgs(null, null, succeeded, _buildFinishTime);
Microsoft.Build.Engine.UnitTests (34)
BackEnd\BuildEventArgTransportSink_Tests.cs (1)
110BuildFinishedEventArgs buildFinished = new BuildFinishedEventArgs("Finished", "Help", true);
BackEnd\CentralForwardingLogger_Tests.cs (1)
96BuildFinishedEventArgs buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true);
BackEnd\EventSourceSink_Tests.cs (1)
722private static BuildFinishedEventArgs s_buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true);
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
1036BuildFinishedEventArgs buildEvent = new BuildFinishedEventArgs(ResourceUtilities.GetResourceString("BuildFinishedSuccess"), null /* no help keyword */, true, service.ProcessedBuildEvent.Timestamp); 1041buildEvent = new BuildFinishedEventArgs(ResourceUtilities.GetResourceString("BuildFinishedFailure"), null /* no help keyword */, false, service.ProcessedBuildEvent.Timestamp); 1047buildEvent = new BuildFinishedEventArgs(string.Empty, null /* no help keyword */, true, service.ProcessedBuildEvent.Timestamp);
BackEnd\NodePackets_Tests.cs (2)
48BuildFinishedEventArgs buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true); 267new BuildFinishedEventArgs("Message", "Keyword", true),
BuildEventArgsSerialization_Tests.cs (5)
88var args = new BuildFinishedEventArgs( 970BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true); 1034BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true); 1088BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true); 1140BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true);
ConfigureableForwardingLogger_Tests.cs (1)
18private readonly BuildFinishedEventArgs _buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true);
ConsoleLogger_Tests.cs (20)
474es.Consume(new BuildFinishedEventArgs(null, null, true)); 475es.Consume(new BuildFinishedEventArgs(null, null, true)); 476es.Consume(new BuildFinishedEventArgs(null, null, true)); 512BuildFinishedEventArgs bfea = new BuildFinishedEventArgs(null, null, true); 755BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 811BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 888BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 961BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 1020BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 1096BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 1172BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 1348es.Consume(new BuildFinishedEventArgs("bf", null, true)); 1971es.Consume(new BuildFinishedEventArgs("bf", 1994es.Consume(new BuildFinishedEventArgs("bf", 2085es.Consume(new BuildFinishedEventArgs("bf", 2199es.Consume(new BuildFinishedEventArgs("bf", 2222es.Consume(new BuildFinishedEventArgs("bf", 2253es.Consume(new BuildFinishedEventArgs("bf", null, true)); 2267es.Consume(new BuildFinishedEventArgs("bf", null, true)); 2284es.Consume(new BuildFinishedEventArgs("bf", null, true));
Microsoft.Build.Framework.UnitTests (12)
BuildFinishedEventArgs_Tests.cs (6)
25buildFinishedEvent = new BuildFinishedEventArgs("Message", "HelpKeyword", true); 26buildFinishedEvent = new BuildFinishedEventArgs("Message", "HelpKeyword", true, new DateTime()); 27buildFinishedEvent = new BuildFinishedEventArgs("{0}", "HelpKeyword", true, new DateTime(), "Message"); 28buildFinishedEvent = new BuildFinishedEventArgs(null, null, true); 29buildFinishedEvent = new BuildFinishedEventArgs(null, null, true, new DateTime()); 30buildFinishedEvent = new BuildFinishedEventArgs(null, null, true, new DateTime(), messageArgs: null);
CustomEventArgSerialization_Tests.cs (6)
212BuildFinishedEventArgs genericEvent = new BuildFinishedEventArgs("Message", "HelpKeyword", true); 220BuildFinishedEventArgs newGenericEvent = new BuildFinishedEventArgs(null, null, false); 227genericEvent = new BuildFinishedEventArgs(string.Empty, string.Empty, true); 235newGenericEvent = new BuildFinishedEventArgs(null, null, false); 242genericEvent = new BuildFinishedEventArgs(null, null, true); 250newGenericEvent = new BuildFinishedEventArgs("Something", "Something", false);
Microsoft.Build.Utilities.Core (1)
MuxLogger.cs (1)
1260RaiseBuildFinishedEvent(sender, new BuildFinishedEventArgs(message, null, projectFinishedEvent.Succeeded));
MSBuild (1)
LogMessagePacketBase.cs (1)
623LoggingEventType.BuildFinishedEvent => new BuildFinishedEventArgs(null, null, false),
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
623LoggingEventType.BuildFinishedEvent => new BuildFinishedEventArgs(null, null, false),
68 references to BuildFinishedEventArgs
Microsoft.Build (21)
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (1)
144else if (buildEvent is BuildFinishedEventArgs)
BackEnd\Components\Logging\EventSourceSink.cs (2)
260case BuildFinishedEventArgs buildFinishedEvent: 262ArgsHandler<BuildFinishedEventArgs> BuildFinishedFollowUp = args => RaiseEvent(args, args => StatusEventRaised?.Invoke(null, args), RaiseAnyEvent);
BackEnd\Components\Logging\LoggingService.cs (1)
1757else if (eventArg is BuildFinishedEventArgs)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
386BuildFinishedEventArgs buildEvent = new BuildFinishedEventArgs(message, null /* no help keyword */, success);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (3)
42{ typeof(BuildFinishedEventArgs), (BuildEventArgs e) => HandleBuildFinishedEvent((BuildFinishedEventArgs)e) }, 151private void HandleBuildFinishedEvent(BuildFinishedEventArgs eventArgs)
Definition\ProjectCollection.cs (1)
2396private void BuildFinishedHandler(object sender, BuildFinishedEventArgs e)
Logging\BaseConsoleLogger.cs (1)
1047public abstract void BuildFinishedHandler(object sender, BuildFinishedEventArgs e);
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
626var e = new BuildFinishedEventArgs(
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
218case BuildFinishedEventArgs buildFinished: return Write(buildFinished); 304private BinaryLogRecordKind Write(BuildFinishedEventArgs e)
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
141else if (buildEvent is BuildFinishedEventArgs buildFinishedEventArgs)
Logging\ConsoleLogger.cs (1)
394public void BuildFinishedHandler(object sender, BuildFinishedEventArgs e)
Logging\FileLogger.cs (1)
64private void FileLoggerBuildFinished(object sender, BuildFinishedEventArgs e)
Logging\NullCentralLogger.cs (1)
56if (!(e is BuildStartedEventArgs) && !(e is BuildFinishedEventArgs))
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
249public override void BuildFinishedHandler(object sender, BuildFinishedEventArgs e)
Logging\SerialConsoleLogger.cs (1)
122public override void BuildFinishedHandler(object sender, BuildFinishedEventArgs e)
LogMessagePacketBase.cs (2)
54/// Event is a <see cref="BuildFinishedEventArgs"/>. 829else if (eventType == typeof(BuildFinishedEventArgs))
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
129private BuildFinishedEventArgs MakeBuildFinishedEventArgs(bool succeeded)
Microsoft.Build.Engine.UnitTests (28)
BackEnd\BuildEventArgTransportSink_Tests.cs (1)
110BuildFinishedEventArgs buildFinished = new BuildFinishedEventArgs("Finished", "Help", true);
BackEnd\CentralForwardingLogger_Tests.cs (1)
96BuildFinishedEventArgs buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true);
BackEnd\EventSourceSink_Tests.cs (4)
675private void Source_BuildFinished(object sender, BuildFinishedEventArgs e) 722private static BuildFinishedEventArgs s_buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true); 852internal static BuildFinishedEventArgs BuildFinished 1010else if (buildEvent is BuildFinishedEventArgs)
BackEnd\LoggingService_Tests.cs (1)
1451if (eventArgs is BuildFinishedEventArgs)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
1036BuildFinishedEventArgs buildEvent = new BuildFinishedEventArgs(ResourceUtilities.GetResourceString("BuildFinishedSuccess"), null /* no help keyword */, true, service.ProcessedBuildEvent.Timestamp); 1037Assert.True(((BuildFinishedEventArgs)service.ProcessedBuildEvent).IsEquivalent(buildEvent)); 1042Assert.True(((BuildFinishedEventArgs)service.ProcessedBuildEvent).IsEquivalent(buildEvent)); 1048Assert.True(((BuildFinishedEventArgs)service.ProcessedBuildEvent).IsEquivalent(buildEvent));
BackEnd\NodePackets_Tests.cs (1)
48BuildFinishedEventArgs buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true);
BuildEventArgsSerialization_Tests.cs (7)
88var args = new BuildFinishedEventArgs( 970BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true); 1019var deserializedFinished = (BuildFinishedEventArgs)buildEventArgsReader.Read(); 1034BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true); 1088BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true); 1140BuildFinishedEventArgs finished = new("Message", "HelpKeyword", true);
ConfigureableForwardingLogger_Tests.cs (1)
18private readonly BuildFinishedEventArgs _buildFinished = new BuildFinishedEventArgs("Message", "Keyword", true);
ConsoleLogger_Tests.cs (8)
512BuildFinishedEventArgs bfea = new BuildFinishedEventArgs(null, null, true); 755BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 811BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 888BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 961BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 1020BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 1096BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true); 1172BuildFinishedEventArgs bfea = new BuildFinishedEventArgs("bf", null, true);
Microsoft.Build.Framework (1)
IEventSource.cs (1)
38public delegate void BuildFinishedEventHandler(object sender, BuildFinishedEventArgs e);
Microsoft.Build.Framework.UnitTests (3)
BuildFinishedEventArgs_Tests.cs (1)
24BuildFinishedEventArgs buildFinishedEvent = new BuildFinishedEventArgs2();
CustomEventArgSerialization_Tests.cs (2)
212BuildFinishedEventArgs genericEvent = new BuildFinishedEventArgs("Message", "HelpKeyword", true); 220BuildFinishedEventArgs newGenericEvent = new BuildFinishedEventArgs(null, null, false);
Microsoft.Build.UnitTests.Shared (6)
BuildEventArgsExtension.cs (2)
91public static bool IsEquivalent(this BuildFinishedEventArgs args, BuildFinishedEventArgs other)
MockLogger.cs (4)
144public List<BuildFinishedEventArgs> BuildFinishedEvents { get; } = new List<BuildFinishedEventArgs>(); 307bool logMessage = !(eventArgs is BuildFinishedEventArgs) || LogBuildFinished; 390case BuildFinishedEventArgs buildFinishedEventArgs:
Microsoft.Build.Utilities.Core (3)
MuxLogger.cs (3)
297private void BuildFinished(object sender, BuildFinishedEventArgs e) 800private void RaiseBuildFinishedEvent(object sender, BuildFinishedEventArgs buildEvent) 1222if (_firstProjectStartedEventContext == null && (buildEvent is BuildStartedEventArgs || buildEvent is BuildFinishedEventArgs))
MSBuild (2)
LogMessagePacketBase.cs (1)
829else if (eventType == typeof(BuildFinishedEventArgs))
TerminalLogger\TerminalLogger.cs (1)
399private void BuildFinished(object sender, BuildFinishedEventArgs e)
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
829else if (eventType == typeof(BuildFinishedEventArgs))
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
137private void HandleBuildFinished(object sender, BuildFinishedEventArgs e)
XmlFileLogger (1)
ObjectModel\Build.cs (1)
43public void CompleteBuild(BuildFinishedEventArgs buildFinishedEventArgs, string logFile, int errorCount, int warningCount)