| File: parent\datacollector\MessageSink.cs | Web Access |
| Project: datacollector.arm64.csproj (datacollector.arm64) |
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.VisualStudio.TestPlatform.Common.DataCollector.Interfaces; using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.DataCollection; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; namespace Microsoft.VisualStudio.TestPlatform.DataCollector; /// <inheritdoc /> internal class MessageSink : IMessageSink { /// <summary> /// Data collection message as sent by DataCollectionLogger. /// </summary> /// <param name="args">Data collection message event args.</param> public void SendMessage(DataCollectionMessageEventArgs args) { DataCollectionRequestHandler.Instance?.SendDataCollectionMessage(args); } }