File: DataCollection\Interfaces\IDataCollectionLauncher.cs
Web Access
Project: src\src\vstest\src\Microsoft.TestPlatform.CrossPlatEngine\Microsoft.TestPlatform.CrossPlatEngine.csproj (Microsoft.TestPlatform.CrossPlatEngine)
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Collections.Generic;

namespace Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.DataCollection.Interfaces;

/// <summary>
/// The DataCollectionLauncher interface.
/// </summary>
internal interface IDataCollectionLauncher
{
    /// <summary>
    /// Gets the data collector process id
    /// </summary>
    int DataCollectorProcessId { get; }

    /// <summary>
    /// The launch data collector.
    /// </summary>
    /// <param name="environmentVariables">
    /// The environment variables.
    /// </param>
    /// <param name="commandLineArguments">
    /// The command line arguments.
    /// </param>
    /// <returns>
    /// The <see cref="int"/>.
    /// </returns>
    int LaunchDataCollector(IDictionary<string, string?>? environmentVariables, IList<string> commandLineArguments);
}