/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/IntegrationTest/Harness/XUnitShared/OutOfProcess/OutOfProcComponent.cs
28 строк
939 B
David Barbet
Shorten file paths to prevent long path issues opening the slnx
10 дек 2025, 22:44
10 дек 2025, 22:44
7830fcf
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Xunit.OutOfProcess { using Xunit.Harness; using Xunit.InProcess; internal abstract class OutOfProcComponent { protected OutOfProcComponent(VisualStudioInstance visualStudioInstance) { VisualStudioInstance = visualStudioInstance; } protected VisualStudioInstance VisualStudioInstance { get; } internal static TInProcComponent CreateInProcComponent<TInProcComponent>(VisualStudioInstance visualStudioInstance) where TInProcComponent : InProcComponent { return visualStudioInstance.ExecuteInHostProcess<TInProcComponent>(type: typeof(TInProcComponent), methodName: "Create"); } } }