1 type derived from TargetStartedEventArgs
Microsoft.Build.Framework.UnitTests (1)
TargetStartedEventArgs_Tests.cs (1)
37private sealed class TargetStartedEventArgs2 : TargetStartedEventArgs
41 instantiations of TargetStartedEventArgs
Microsoft.Build (3)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
649TargetStartedEventArgs buildEvent = new TargetStartedEventArgs(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
803var e = new TargetStartedEventArgs(
LogMessagePacketBase.cs (1)
629LoggingEventType.TargetStartedEvent => new TargetStartedEventArgs(null, null, null, null, null),
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
152return new TargetStartedEventArgs("", "", targetName, projectFile, targetFile: projectFile, String.Empty, TargetBuiltReason.None, _targetStartTime)
Microsoft.Build.Engine.UnitTests (23)
BackEnd\EventSourceSink_Tests.cs (1)
770private static TargetStartedEventArgs s_targetStarted = new TargetStartedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile");
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1596TargetStartedEventArgs buildEvent = new TargetStartedEventArgs(
BackEnd\NodePackets_Tests.cs (2)
57TargetStartedEventArgs targetStarted = new TargetStartedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile"); 280new TargetStartedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile"),
BuildEventArgsSerialization_Tests.cs (1)
200var args = new TargetStartedEventArgs(
ConfigureableForwardingLogger_Tests.cs (1)
29private readonly TargetStartedEventArgs _targetStarted = new TargetStartedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile");
ConsoleLogger_Tests.cs (17)
466es.Consume(new TargetStartedEventArgs(null, null, "t", null, null)); 496TargetStartedEventArgs trse = new TargetStartedEventArgs(null, null, "t", null, null); 731TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 784TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 860TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 937TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 993TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 1068TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 1144TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 1264es.Consume(new TargetStartedEventArgs("ts", null, 1311es.Consume(new TargetStartedEventArgs("ts", null, 2138TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null); 2166TargetStartedEventArgs targetStarted2 = new TargetStartedEventArgs(null, null, "t2", null, null); 2317TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null); 2351TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null); 2355TargetStartedEventArgs targetStarted2 = new TargetStartedEventArgs(null, null, "t2", null, null); 2415TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null);
Microsoft.Build.Framework.UnitTests (12)
CustomEventArgSerialization_Tests.cs (6)
720TargetStartedEventArgs genericEvent = new TargetStartedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", "ParentTargetStartedEvent", TargetBuiltReason.AfterTargets, DateTime.UtcNow); 729TargetStartedEventArgs newGenericEvent = new TargetStartedEventArgs(null, null, null, null, null); 738genericEvent = new TargetStartedEventArgs(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, TargetBuiltReason.AfterTargets, DateTime.Now); 747newGenericEvent = new TargetStartedEventArgs(null, null, null, null, null); 756genericEvent = new TargetStartedEventArgs(null, null, null, null, null, null, TargetBuiltReason.AfterTargets, DateTime.Now); 763newGenericEvent = new TargetStartedEventArgs("Something", "Something", "Something", "Something", "Something", "Something", TargetBuiltReason.AfterTargets, DateTime.Now);
TargetStartedEventArgs_Tests.cs (6)
25targetStartedEvent = new TargetStartedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile"); 26targetStartedEvent = new TargetStartedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", "ParentTarget", DateTime.Now); 27targetStartedEvent = new TargetStartedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", "ParentTarget", TargetBuiltReason.AfterTargets, DateTime.Now); 28targetStartedEvent = new TargetStartedEventArgs(null, null, null, null, null); 29targetStartedEvent = new TargetStartedEventArgs(null, null, null, null, null, null, DateTime.Now); 30targetStartedEvent = new TargetStartedEventArgs(null, null, null, null, null, null, TargetBuiltReason.AfterTargets, DateTime.Now);
MSBuild (1)
LogMessagePacketBase.cs (1)
629LoggingEventType.TargetStartedEvent => new TargetStartedEventArgs(null, null, null, null, null),
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
629LoggingEventType.TargetStartedEvent => new TargetStartedEventArgs(null, null, null, null, null),
61 references to TargetStartedEventArgs
Microsoft.Build (16)
BackEnd\Components\Logging\EventSourceSink.cs (2)
239case TargetStartedEventArgs targetStartedEvent: 240ArgsHandler<TargetStartedEventArgs> targetStartedFollowUp = args => RaiseEvent(args, args => StatusEventRaised?.Invoke(null, args), RaiseAnyEvent);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
649TargetStartedEventArgs buildEvent = new TargetStartedEventArgs(
Definition\ProjectCollection.cs (1)
2324private void TargetStartedHandler(object sender, TargetStartedEventArgs e)
Logging\BaseConsoleLogger.cs (1)
1053public abstract void TargetStartedHandler(object sender, TargetStartedEventArgs e);
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
803var e = new TargetStartedEventArgs(
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
210case TargetStartedEventArgs targetStarted: return Write(targetStarted); 424private BinaryLogRecordKind Write(TargetStartedEventArgs e)
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
121else if (buildEvent is TargetStartedEventArgs targetStartedEventArgs)
Logging\ConsoleLogger.cs (1)
430public void TargetStartedHandler(object sender, TargetStartedEventArgs e)
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
842public override void TargetStartedHandler(object sender, TargetStartedEventArgs e)
Logging\ParallelLogger\ParallelLoggerHelpers.cs (2)
83internal void AddTargetStartedEvent(TargetStartedEventArgs e, bool requireTimeStamp) 514internal TargetStartedEventMinimumFields(TargetStartedEventArgs startedEvent, bool requireTimeStamp)
Logging\SerialConsoleLogger.cs (1)
329public override void TargetStartedHandler(object sender, TargetStartedEventArgs e)
LogMessagePacketBase.cs (2)
84/// Event is a <see cref="TargetStartedEventArgs"/>. 813else if (eventType == typeof(TargetStartedEventArgs))
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
150private TargetStartedEventArgs MakeTargetStartedEventArgs(string projectFile, string targetName)
Microsoft.Build.Engine.UnitTests (23)
BackEnd\EventSourceSink_Tests.cs (3)
579private void Source_TargetStarted(object sender, TargetStartedEventArgs e) 770private static TargetStartedEventArgs s_targetStarted = new TargetStartedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile"); 945internal static TargetStartedEventArgs TargetStarted
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
1596TargetStartedEventArgs buildEvent = new TargetStartedEventArgs( 1606Assert.True(((TargetStartedEventArgs)service.ProcessedBuildEvent).IsEquivalent(buildEvent));
BackEnd\NodePackets_Tests.cs (1)
57TargetStartedEventArgs targetStarted = new TargetStartedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile");
BuildEventArgsSerialization_Tests.cs (1)
200var args = new TargetStartedEventArgs(
ConfigureableForwardingLogger_Tests.cs (1)
29private readonly TargetStartedEventArgs _targetStarted = new TargetStartedEventArgs("message", "help", "targetName", "ProjectFile", "targetFile");
ConsoleLogger_Tests.cs (15)
167List<TargetStartedEventArgs> targetStartedEvents = mockLogger.TargetStartedEvents; 496TargetStartedEventArgs trse = new TargetStartedEventArgs(null, null, "t", null, null); 731TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 784TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 860TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 937TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 993TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 1068TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 1144TargetStartedEventArgs trse = new TargetStartedEventArgs("ts", null, "trname", "pfile", "tfile"); 2138TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null); 2166TargetStartedEventArgs targetStarted2 = new TargetStartedEventArgs(null, null, "t2", null, null); 2317TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null); 2351TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null); 2355TargetStartedEventArgs targetStarted2 = new TargetStartedEventArgs(null, null, "t2", null, null); 2415TargetStartedEventArgs targetStarted1 = new TargetStartedEventArgs(null, null, "t", null, null);
Microsoft.Build.Framework (1)
IEventSource.cs (1)
58public delegate void TargetStartedEventHandler(object sender, TargetStartedEventArgs e);
Microsoft.Build.Framework.UnitTests (5)
CustomEventArgSerialization_Tests.cs (4)
720TargetStartedEventArgs genericEvent = new TargetStartedEventArgs("Message", "HelpKeyword", "TargetName", "ProjectFile", "TargetFile", "ParentTargetStartedEvent", TargetBuiltReason.AfterTargets, DateTime.UtcNow); 729TargetStartedEventArgs newGenericEvent = new TargetStartedEventArgs(null, null, null, null, null); 773private static void VerifyTargetStarted(TargetStartedEventArgs genericEvent, TargetStartedEventArgs newGenericEvent)
TargetStartedEventArgs_Tests.cs (1)
24TargetStartedEventArgs targetStartedEvent = new TargetStartedEventArgs2();
Microsoft.Build.UnitTests.Shared (5)
BuildEventArgsExtension.cs (2)
298public static bool IsEquivalent(TargetStartedEventArgs args, TargetStartedEventArgs other)
MockLogger.cs (3)
109public List<TargetStartedEventArgs> TargetStartedEvents { get; } = new List<TargetStartedEventArgs>(); 355case TargetStartedEventArgs targetStartedEventArgs:
Microsoft.Build.Utilities.Core (1)
MuxLogger.cs (1)
943private void RaiseTargetStartedEvent(object sender, TargetStartedEventArgs buildEvent)
MSBuild (2)
LogMessagePacketBase.cs (1)
813else if (eventType == typeof(TargetStartedEventArgs))
TerminalLogger\TerminalLogger.cs (1)
727private void TargetStarted(object sender, TargetStartedEventArgs e)
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
813else if (eventType == typeof(TargetStartedEventArgs))
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
153private void HandleTargetStarted(object sender, TargetStartedEventArgs e)
XmlFileLogger (5)
ObjectModel\Build.cs (1)
75public void AddTarget(TargetStartedEventArgs targetStartedEventArgs)
ObjectModel\Project.cs (2)
58public void AddTarget(TargetStartedEventArgs targetStartedEventArgs) 154private Target GetOrAddTargetByName(string targetName, TargetStartedEventArgs e = null)
ObjectModel\Target.cs (2)
22public Target(string targetName, TargetStartedEventArgs targetStartedEvent) 103public void TryUpdate(TargetStartedEventArgs e)