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