1 type derived from TargetFinishedEventArgs
Microsoft.Build.Framework.UnitTests (1)
TargetFinishedEventArgs_Tests.cs (1)
37private sealed class TargetFinishedEventArgs2 : TargetFinishedEventArgs
34 instantiations of TargetFinishedEventArgs
Microsoft.Build (3)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
681TargetFinishedEventArgs buildEvent = new TargetFinishedEventArgs(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
825var e = new TargetFinishedEventArgs(
LogMessagePacketBase.cs (1)
630LoggingEventType.TargetFinishedEvent => new TargetFinishedEventArgs(null, null, null, null, null, false),
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
160return new TargetFinishedEventArgs("", "", targetName, projectFile, targetFile: projectFile, succeeded)
Microsoft.Build.Engine.UnitTests (18)
BackEnd\EventSourceSink_Tests.cs (1)
775private static TargetFinishedEventArgs s_targetFinished = new TargetFinishedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile", true);
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1573TargetFinishedEventArgs targetEvent = new TargetFinishedEventArgs(
BackEnd\NodePackets_Tests.cs (2)
58TargetFinishedEventArgs targetFinished = new TargetFinishedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile", true); 281new TargetFinishedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile", true, targetOutputs),
BuildEventArgsSerialization_Tests.cs (1)
222var args = new TargetFinishedEventArgs(
ConfigureableForwardingLogger_Tests.cs (1)
30private readonly TargetFinishedEventArgs _targetFinished = new TargetFinishedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile", true);
ConsoleLogger_Tests.cs (12)
472es.Consume(new TargetFinishedEventArgs(null, null, "t", null, null, true)); 508TargetFinishedEventArgs tafea = new TargetFinishedEventArgs(null, null, "t", null, null, true); 747TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 803TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 880TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 953TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 1012TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 1088TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 1164TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 1336es.Consume(new TargetFinishedEventArgs("tf", null, "tarname", "fname", "tfile", true)); 2157TargetFinishedEventArgs targetFinished1 = new TargetFinishedEventArgs(null, null, "t", null, null, true); 2185TargetFinishedEventArgs targetFinished2 = new TargetFinishedEventArgs(null, null, "t2", null, null, true);
Microsoft.Build.Framework.UnitTests (10)
CustomEventArgSerialization_Tests.cs (6)
786TargetFinishedEventArgs genericEvent = new TargetFinishedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", true); 795TargetFinishedEventArgs newGenericEvent = new TargetFinishedEventArgs(null, null, null, null, null, false); 803genericEvent = new TargetFinishedEventArgs(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, true); 812newGenericEvent = new TargetFinishedEventArgs(null, null, null, null, null, false); 821genericEvent = new TargetFinishedEventArgs(null, null, null, null, null, true); 828newGenericEvent = new TargetFinishedEventArgs("Something", "Something", "Something", "Something", "Something", false);
TargetFinishedEventArgs_Tests.cs (4)
27targetFinishedEvent = new TargetFinishedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", true); 28targetFinishedEvent = new TargetFinishedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", true, DateTime.Now, outputs); 29targetFinishedEvent = new TargetFinishedEventArgs(null, null, null, null, null, true); 30targetFinishedEvent = new TargetFinishedEventArgs(null, null, null, null, null, true, DateTime.Now, null);
MSBuild (1)
LogMessagePacketBase.cs (1)
630LoggingEventType.TargetFinishedEvent => new TargetFinishedEventArgs(null, null, null, null, null, false),
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
630LoggingEventType.TargetFinishedEvent => new TargetFinishedEventArgs(null, null, null, null, null, false),
65 references to TargetFinishedEventArgs
Microsoft.Build (18)
BackEnd\Components\Communications\LogMessagePacket.cs (1)
49private static void TranslateTargetFinishedEvent(ITranslator translator, TargetFinishedEventArgs finishedEvent)
BackEnd\Components\Logging\EventSourceSink.cs (2)
243case TargetFinishedEventArgs targetFinishedEvent: 244ArgsHandler<TargetFinishedEventArgs> targetFinishedFollowUp = args => RaiseEvent(args, args => StatusEventRaised?.Invoke(null, args), RaiseAnyEvent);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
681TargetFinishedEventArgs buildEvent = new TargetFinishedEventArgs(
Definition\ProjectCollection.cs (1)
2332private void TargetFinishedHandler(object sender, TargetFinishedEventArgs e)
Logging\BaseConsoleLogger.cs (1)
1055public abstract void TargetFinishedHandler(object sender, TargetFinishedEventArgs e);
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
825var e = new TargetFinishedEventArgs(
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
211case TargetFinishedEventArgs targetFinished: return Write(targetFinished); 436private BinaryLogRecordKind Write(TargetFinishedEventArgs e)
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
125else if (buildEvent is TargetFinishedEventArgs targetFinishedEventArgs)
Logging\ConsoleLogger.cs (1)
442public void TargetFinishedHandler(object sender, TargetFinishedEventArgs e)
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
863public override void TargetFinishedHandler(object sender, TargetFinishedEventArgs e)
Logging\SerialConsoleLogger.cs (1)
363public override void TargetFinishedHandler(object sender, TargetFinishedEventArgs e)
LogMessagePacketBase.cs (5)
89/// Event is a <see cref="TargetFinishedEventArgs"/>. 350internal delegate void TargetFinishedTranslator(ITranslator translator, TargetFinishedEventArgs finishedEvent); 465_targetFinishedTranslator(translator, (TargetFinishedEventArgs)_buildEvent); 521_targetFinishedTranslator(translator, (TargetFinishedEventArgs)_buildEvent); 817else if (eventType == typeof(TargetFinishedEventArgs))
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
158private TargetFinishedEventArgs MakeTargetFinishedEventArgs(string projectFile, string targetName, bool succeeded)
Microsoft.Build.Engine.UnitTests (24)
BackEnd\EventSourceSink_Tests.cs (3)
589private void Source_TargetFinished(object sender, TargetFinishedEventArgs e) 775private static TargetFinishedEventArgs s_targetFinished = new TargetFinishedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile", true); 956internal static TargetFinishedEventArgs TargetFinished
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
1573TargetFinishedEventArgs targetEvent = new TargetFinishedEventArgs( 1583Assert.True(((TargetFinishedEventArgs)service.ProcessedBuildEvent).IsEquivalent(targetEvent));
BackEnd\NodePackets_Tests.cs (1)
58TargetFinishedEventArgs targetFinished = new TargetFinishedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile", true);
BackEnd\TargetEntry_Tests.cs (6)
702TargetFinishedEventArgs targeta = log.TargetFinishedEvents[2]; 703TargetFinishedEventArgs targetb = log.TargetFinishedEvents[0]; 704TargetFinishedEventArgs targetc = log.TargetFinishedEvents[1]; 799TargetFinishedEventArgs targeta = log.TargetFinishedEvents[2]; 800TargetFinishedEventArgs targetb = log.TargetFinishedEvents[0]; 801TargetFinishedEventArgs targetc = log.TargetFinishedEvents[1];
BuildEventArgsSerialization_Tests.cs (1)
222var args = new TargetFinishedEventArgs(
ConfigureableForwardingLogger_Tests.cs (1)
30private readonly TargetFinishedEventArgs _targetFinished = new TargetFinishedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile", true);
ConsoleLogger_Tests.cs (10)
508TargetFinishedEventArgs tafea = new TargetFinishedEventArgs(null, null, "t", null, null, true); 747TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 803TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 880TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 953TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 1012TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 1088TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 1164TargetFinishedEventArgs trfea = new TargetFinishedEventArgs("tf", null, "trname", "fname", "tfile", true); 2157TargetFinishedEventArgs targetFinished1 = new TargetFinishedEventArgs(null, null, "t", null, null, true); 2185TargetFinishedEventArgs targetFinished2 = new TargetFinishedEventArgs(null, null, "t2", null, null, true);
Microsoft.Build.Framework (1)
IEventSource.cs (1)
63public delegate void TargetFinishedEventHandler(object sender, TargetFinishedEventArgs e);
Microsoft.Build.Framework.UnitTests (5)
CustomEventArgSerialization_Tests.cs (4)
786TargetFinishedEventArgs genericEvent = new TargetFinishedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", true); 795TargetFinishedEventArgs newGenericEvent = new TargetFinishedEventArgs(null, null, null, null, null, false); 838private static void VerifyTargetFinished(TargetFinishedEventArgs genericEvent, TargetFinishedEventArgs newGenericEvent)
TargetFinishedEventArgs_Tests.cs (1)
26TargetFinishedEventArgs targetFinishedEvent = new TargetFinishedEventArgs2();
Microsoft.Build.UnitTests.Shared (5)
BuildEventArgsExtension.cs (2)
328public static bool IsEquivalent(TargetFinishedEventArgs args, TargetFinishedEventArgs other)
MockLogger.cs (3)
114public List<TargetFinishedEventArgs> TargetFinishedEvents { get; } = new List<TargetFinishedEventArgs>(); 360case TargetFinishedEventArgs targetFinishedEventArgs:
Microsoft.Build.Utilities.Core (1)
MuxLogger.cs (1)
985private void RaiseTargetFinishedEvent(object sender, TargetFinishedEventArgs buildEvent)
MSBuild (5)
LogMessagePacketBase.cs (4)
350internal delegate void TargetFinishedTranslator(ITranslator translator, TargetFinishedEventArgs finishedEvent); 465_targetFinishedTranslator(translator, (TargetFinishedEventArgs)_buildEvent); 521_targetFinishedTranslator(translator, (TargetFinishedEventArgs)_buildEvent); 817else if (eventType == typeof(TargetFinishedEventArgs))
TerminalLogger\TerminalLogger.cs (1)
770private void TargetFinished(object sender, TargetFinishedEventArgs e)
MSBuildTaskHost (4)
LogMessagePacketBase.cs (4)
350internal delegate void TargetFinishedTranslator(ITranslator translator, TargetFinishedEventArgs finishedEvent); 465_targetFinishedTranslator(translator, (TargetFinishedEventArgs)_buildEvent); 521_targetFinishedTranslator(translator, (TargetFinishedEventArgs)_buildEvent); 817else if (eventType == typeof(TargetFinishedEventArgs))
XmlFileLogger (1)
ObjectModel\Build.cs (1)
232public void CompleteTarget(TargetFinishedEventArgs targetFinishedEventArgs)