9 instantiations of TelemetryEventArgs
Microsoft.Build (2)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
803TelemetryEventArgs telemetryEvent = new TelemetryEventArgs
LogMessagePacketBase.cs (1)
643LoggingEventType.Telemetry => new TelemetryEventArgs(),
Microsoft.Build.Engine.UnitTests (1)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1290TelemetryEventArgs expectedEventArgs = new TelemetryEventArgs
Microsoft.Build.Framework.UnitTests (4)
CustomEventArgSerialization_Tests.cs (4)
983TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = new Dictionary<string, string> { { "Key", "Value" } } }; 996TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = null }; 1013TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = null, Properties = new Dictionary<string, string> { { "Key", "Value" } } }; 1026TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = new Dictionary<string, string> { { "Key", null } } };
MSBuild (2)
LogMessagePacketBase.cs (1)
643LoggingEventType.Telemetry => new TelemetryEventArgs(),
OutOfProcTaskHostNode.cs (1)
479SendBuildEvent(new TelemetryEventArgs
25 references to TelemetryEventArgs
Microsoft.Build (5)
BackEnd\Components\Logging\EventSourceSink.cs (1)
281case TelemetryEventArgs telemetryEvent:
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
803TelemetryEventArgs telemetryEvent = new TelemetryEventArgs
Definition\ProjectCollection.cs (1)
2420private void TelemetryLoggedHandler(object sender, TelemetryEventArgs e)
LogMessagePacketBase.cs (2)
134/// Event is a <see cref="TelemetryEventArgs"/>. 728else if (eventType == typeof(TelemetryEventArgs))
Microsoft.Build.Engine.UnitTests (3)
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
1290TelemetryEventArgs expectedEventArgs = new TelemetryEventArgs 1297TelemetryEventArgs actualEventArgs = (TelemetryEventArgs)service.ProcessedBuildEvent;
Microsoft.Build.Framework (2)
IEventSource2.cs (1)
11public delegate void TelemetryEventHandler(object sender, TelemetryEventArgs e);
Telemetry\TelemetryBase.cs (1)
16/// Fetches all derived type members wrapped in Dictionary which will be used to build <see cref="TelemetryEventArgs"/>.
Microsoft.Build.Framework.UnitTests (10)
CustomEventArgSerialization_Tests.cs (10)
983TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = new Dictionary<string, string> { { "Key", "Value" } } }; 986TelemetryEventArgs newGenericEvent = RoundTrip(genericEvent); 996TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = null }; 999TelemetryEventArgs newGenericEvent = RoundTrip(genericEvent); 1013TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = null, Properties = new Dictionary<string, string> { { "Key", "Value" } } }; 1016TelemetryEventArgs newGenericEvent = RoundTrip(genericEvent); 1026TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = new Dictionary<string, string> { { "Key", null } } }; 1029TelemetryEventArgs newGenericEvent = RoundTrip(genericEvent); 1049private static void VerifyTelemetryEvent(TelemetryEventArgs expected, TelemetryEventArgs actual)
Microsoft.Build.UnitTests.Shared (2)
MockLogger.cs (2)
149public List<TelemetryEventArgs> TelemetryEvents { get; } = new(); 420if (eventArgs is TelemetryEventArgs telemetryEventArgs)
Microsoft.Build.Utilities.Core (1)
MuxLogger.cs (1)
1269private void RaiseTelemetryEvent(object sender, TelemetryEventArgs buildEvent)
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
200private void OnTelemetryLogged(object sender, TelemetryEventArgs e)
MSBuild (1)
LogMessagePacketBase.cs (1)
728else if (eventType == typeof(TelemetryEventArgs))