3 implementations of ISdkResolverService
Microsoft.Build (2)
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (1)
17
internal abstract class HostedSdkResolverServiceBase : IBuildComponent, INodePacketHandler,
ISdkResolverService
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
26
internal class SdkResolverService :
ISdkResolverService
Microsoft.Build.Engine.UnitTests (1)
BackEnd\MockSdkResolverService.cs (1)
15
internal sealed class MockSdkResolverService : IBuildComponent,
ISdkResolverService
47 references to ISdkResolverService
Microsoft.Build (43)
BackEnd\BuildManager\BuildManager.cs (3)
366
/// Retrieves a hosted<see cref="
ISdkResolverService
"/> instance for resolving SDKs.
368
private
ISdkResolverService
SdkResolverService => ((this as IBuildComponentHost).GetComponent(BuildComponentType.SdkResolverService) as
ISdkResolverService
)!;
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (3)
29
/// <inheritdoc cref="
ISdkResolverService
.SendPacket"/>
32
/// <inheritdoc cref="
ISdkResolverService
.ClearCache"/>
51
/// <inheritdoc cref="
ISdkResolverService
.ResolveSdk"/>
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (4)
18
/// An implementation of <see cref="
ISdkResolverService
"/> that is hosted in the main node for multi-proc builds. This instance of the service
29
private readonly
ISdkResolverService
_cachedSdkResolver = new CachingSdkResolverService();
47
/// <inheritdoc cref="
ISdkResolverService
.ClearCache"/>
98
/// <inheritdoc cref="
ISdkResolverService
.ResolveSdk"/>
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (2)
19
/// An implementation of <see cref="
ISdkResolverService
"/> that is hosted in an out-of-proc node for multi-proc builds. This instance of the service
66
/// <inheritdoc cref="
ISdkResolverService
.ResolveSdk"/>
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
23
/// The main implementation of <see cref="
ISdkResolverService
"/> which resolves SDKs. This class is the central location for all SDK resolution and is used
78
/// <inheritdoc cref="
ISdkResolverService
.SendPacket"/>
99
/// <inheritdoc cref="
ISdkResolverService
.ClearCache"/>
110
/// <inheritdoc cref="
ISdkResolverService
.ResolveSdk"/>
BackEnd\Node\OutOfProcNode.cs (3)
130
/// The current <see cref="
ISdkResolverService
"/> instance.
132
private readonly
ISdkResolverService
_sdkResolverService;
158
_sdkResolverService = (this as IBuildComponentHost).GetComponent(BuildComponentType.SdkResolverService) as
ISdkResolverService
;
BackEnd\Shared\BuildRequestConfiguration.cs (2)
464
ISdkResolverService
sdkResolverService = componentHost.GetComponent(BuildComponentType.SdkResolverService) as
ISdkResolverService
;
Construction\Solution\SolutionProjectGenerator.cs (5)
154
/// The <see cref="
ISdkResolverService
"/> to use.
156
private readonly
ISdkResolverService
_sdkResolverService;
178
ISdkResolverService
sdkResolverService,
206
/// <param name="sdkResolverService">An <see cref="
ISdkResolverService
"/> to use.</param>
216
ISdkResolverService
sdkResolverService = null,
Evaluation\Context\EvaluationContext.cs (2)
54
internal
ISdkResolverService
SdkResolverService { get; }
63
private EvaluationContext(SharingPolicy policy, IFileSystem fileSystem,
ISdkResolverService
sdkResolverService = null,
Evaluation\Evaluator.cs (4)
142
/// The <see cref="
ISdkResolverService
"/> to use.
144
private readonly
ISdkResolverService
_sdkResolverService;
208
ISdkResolverService
sdkResolverService,
310
ISdkResolverService
sdkResolverService,
Instance\ProjectInstance.cs (11)
584
/// <param name="sdkResolverService">An <see cref="
ISdkResolverService
"/> instance to use when resolving SDKs.</param>
587
internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, int visualStudioVersionFromSolution, ProjectCollection projectCollection,
ISdkResolverService
sdkResolverService, int submissionId)
602
internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ILoggingService loggingService, int visualStudioVersionFromSolution, ProjectCollection projectCollection,
ISdkResolverService
sdkResolverService, int submissionId)
613
internal ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext,
ISdkResolverService
sdkResolverService, int submissionId, ProjectLoadSettings? projectLoadSettings)
629
internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext,
ISdkResolverService
sdkResolverService, int submissionId)
2537
ISdkResolverService
sdkResolverService,
2600
ISdkResolverService
sdkResolverService,
2881
ISdkResolverService
sdkResolverService,
2922
/// <param name="sdkResolverService">An <see cref="
ISdkResolverService
"/> to use when resolving SDKs.</param>
2935
ISdkResolverService
sdkResolverService,
3078
ISdkResolverService
sdkResolverService = null,
Microsoft.Build.Engine.UnitTests (4)
BackEnd\MockHost.cs (1)
63
private
ISdkResolverService
_sdkResolverService;
BackEnd\TargetBuilder_Tests.cs (1)
1764
private
ISdkResolverService
_sdkResolverService;
BackEnd\TargetEntry_Tests.cs (1)
1238
private
ISdkResolverService
_sdkResolverService;
BackEnd\TaskBuilder_Tests.cs (1)
1293
private
ISdkResolverService
_sdkResolverService;