2 implementations of IBuildCheckManager
Microsoft.Build (2)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
63
internal sealed class BuildCheckManager :
IBuildCheckManager
, IBuildEngineDataRouter, IResultReporter
BuildCheck\Infrastructure\NullBuildCheckManager.cs (1)
10
internal class NullBuildCheckManager :
IBuildCheckManager
, IBuildEngineDataRouter
13 references to IBuildCheckManager
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
287
var
buildCheckManager = buildCheckProvider!.Instance;
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1111
var
buildCheckManager = isRestoring
1272
private void HandleProjectStarted(
IBuildCheckManager
buildCheckManager)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (2)
15
private readonly
IBuildCheckManager
_buildCheckManager;
24
IBuildCheckManager
buildCheckManager)
BuildCheck\Infrastructure\BuildCheckConnectorLogger.cs (3)
11
/// Processes the events and forwards them to the <see cref="
IBuildCheckManager
"/> and registered checks.
19
private readonly
IBuildCheckManager
_buildCheckManager;
24
IBuildCheckManager
buildCheckManager)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
28
private
IBuildCheckManager
? _instance;
30
public
IBuildCheckManager
Instance => _instance ?? new NullBuildCheckManager();
BuildCheck\Infrastructure\IBuildCheckManagerProvider.cs (1)
10
IBuildCheckManager
Instance { get; }
BuildCheck\Infrastructure\NullBuildCheckManagerProvider.cs (1)
11
public
IBuildCheckManager
Instance => _instance;
Microsoft.Build.BuildCheck.UnitTests (1)
BuildCheckManagerProviderTests.cs (1)
24
private readonly
IBuildCheckManager
_testedInstance;