1 implementation of ICheckContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
20internal class CheckDispatchingContext : ICheckContext
80 references to ICheckContext
Microsoft.Build (77)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
841public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (1)
29ICheckContext checkContext)
BuildCheck\Acquisition\IBuildCheckAcquisitionModule.cs (1)
15List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData, ICheckContext checkContext);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (2)
90var checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!); 157private void LogCheckStats(ICheckContext checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (18)
18public BuildCheckCentralContext(IConfigurationProvider configurationProvider, Action<ICheckContext> removeThrottledChecks) 52private readonly Action<ICheckContext> _removeThrottledChecks; 115ICheckContext checkContext, 116Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 122ICheckContext checkContext, 123Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 129ICheckContext checkContext, 130Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 137ICheckContext checkContext, 138Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 146Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 154Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 161ICheckContext checkContext, 162Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 169ICheckContext checkContext, 170Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 178ICheckContext checkContext, 179Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (16)
104ICheckContext checkContext) 182ICheckContext checkContext) 294private void SetupChecksForNewProject(string projectFullPath, ICheckContext checkContext) 326private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove, ICheckContext checkContext) 335public void RemoveThrottledChecks(ICheckContext checkContext) 357ICheckContext checkContext, 379public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 396ICheckContext checkContext, 401public void ProcessBuildFinished(ICheckContext checkContext) 405ICheckContext checkContext, 411ICheckContext checkContext, 499ICheckContext checkContext, 514ICheckContext checkContext, 531public void StartProjectRequest(ICheckContext checkContext, string projectFullPath) 551void IResultReporter.ReportResult(BuildEventArgs eventArgs, ICheckContext checkContext) 581ICheckContext checkContext,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (8)
58ICheckContext checkContext, 92internal void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation) 99internal void ProcessBuildDone(ICheckContext checkContext) 111ICheckContext checkContext, 148ICheckContext checkContext, 170ICheckContext checkContext, 215public void ProcessProjectDone(ICheckContext checkContext, string projectFullPath) 223ICheckContext checkContext,
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
18/// <see cref="ICheckContext"/> that uses <see cref="EventArgsDispatcher"/> to dispatch.
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContextFactory.cs (1)
22public ICheckContext CreateCheckContext(BuildEventContext eventContext)
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (2)
17/// <see cref="ICheckContext"/> that uses <see cref="ILoggingService"/> to dispatch. 24: ICheckContext
BuildCheck\Infrastructure\CheckContext\CheckLoggingContextFactory.cs (1)
20public ICheckContext CreateCheckContext(BuildEventContext eventContext)
BuildCheck\Infrastructure\CheckContext\ICheckContextFactory.cs (1)
10ICheckContext CreateCheckContext(BuildEventContext eventContext);
BuildCheck\Infrastructure\CheckWrapper.cs (1)
156internal void ReportResult(BuildCheckResult result, ICheckContext checkContext, CheckConfigurationEffective config)
BuildCheck\Infrastructure\IBuildCheckManager.cs (11)
39ICheckContext checksContext, 43ICheckContext checksContext, 47ICheckContext checksContext, 51ICheckContext checksContext, 55ICheckContext checksContext, 58void ProcessBuildFinished(ICheckContext analysisContext); 62void ProcessCheckAcquisition(CheckAcquisitionData acquisitionData, ICheckContext checksContext); 76void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext analysisContext, string projectFullPath); 78void ProcessProjectEvaluationStarted(ICheckContext checksContext, string projectFullPath); 82void StartProjectRequest(ICheckContext checksContext, string projectFullPath); 84void EndProjectRequest(ICheckContext checksContext, string projectFullPath);
BuildCheck\Infrastructure\InternalOM\IBuildEngineDataRouter.cs (1)
31void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (11)
20ICheckContext checkContext, 25public void ProcessBuildFinished(ICheckContext analysisContext) 34ICheckContext checkContext, 40ICheckContext checkContext, 46ICheckContext checkContext, 53ICheckContext checkContext) 61public void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext checkContext, 66public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath) 74public void StartProjectRequest(ICheckContext checksContext, string projectFullPath) 78public void EndProjectRequest(ICheckContext checkContext, string projectFullPath) 90public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
Microsoft.Build.BuildCheck.UnitTests (2)
BuildCheckManagerProviderTests.cs (1)
86public List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData, ICheckContext checkContext)
MockBuildCheckRegistrationContext.cs (1)
54private void ResultHandler(CheckWrapper wrapper, ICheckContext context, CheckConfigurationEffective[] configs, BuildCheckResult result)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\MockLoggingService.cs (1)
698public void ProcessProjectEvaluationStarted(ICheckContext analysisContext, string projectFullPath)