1 implementation of ICheckContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
20internal class CheckDispatchingContext : ICheckContext
86 references to ICheckContext
Microsoft.Build (83)
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)
87var checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!); 160private void LogCheckStats(ICheckContext checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (20)
18public BuildCheckCentralContext(IConfigurationProvider configurationProvider, Action<ICheckContext> removeThrottledChecks) 53private readonly Action<ICheckContext> _removeThrottledChecks; 120ICheckContext checkContext, 121Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 127ICheckContext checkContext, 128Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 134ICheckContext checkContext, 135Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 142ICheckContext checkContext, 143Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 151Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 159Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 166ICheckContext checkContext, 167Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 174ICheckContext checkContext, 175Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 180ICheckContext checkContext, 181Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 187ICheckContext checkContext, 188Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (17)
103ICheckContext checkContext) 181ICheckContext checkContext) 293private void SetupChecksForNewProject(string projectFullPath, ICheckContext checkContext) 325private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove, ICheckContext checkContext) 334public void RemoveThrottledChecks(ICheckContext checkContext) 356ICheckContext checkContext, 390public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 406public void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs) 417ICheckContext checkContext, 422public void ProcessBuildFinished(ICheckContext checkContext) 426ICheckContext checkContext, 432ICheckContext checkContext, 523ICheckContext checkContext, 538ICheckContext checkContext, 558public void StartProjectRequest(ICheckContext checkContext, string projectFullPath) 596void IResultReporter.ReportResult(BuildEventArgs eventArgs, ICheckContext checkContext) 626ICheckContext checkContext,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (9)
58ICheckContext checkContext, 92internal void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation) 102internal void ProcessProjectImportedEventArgs(ICheckContext checkContext, string projectPath, string importedProjectPath) 109internal void ProcessBuildDone(ICheckContext checkContext) 121ICheckContext checkContext, 158ICheckContext checkContext, 180ICheckContext checkContext, 225public void ProcessProjectDone(ICheckContext checkContext, string projectFullPath) 233ICheckContext 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 (12)
37ICheckContext checksContext, 41ICheckContext checksContext, 45ICheckContext checksContext, 49ICheckContext checksContext, 53ICheckContext checksContext, 56void ProcessBuildFinished(ICheckContext analysisContext); 60void ProcessCheckAcquisition(CheckAcquisitionData acquisitionData, ICheckContext checksContext); 62void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs); 75void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext analysisContext, string projectFullPath); 77void ProcessProjectEvaluationStarted(ICheckContext checksContext, string projectFullPath); 81void StartProjectRequest(ICheckContext checksContext, string projectFullPath); 83void EndProjectRequest(ICheckContext checksContext, string projectFullPath);
BuildCheck\Infrastructure\InternalOM\IBuildEngineDataRouter.cs (1)
31void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (12)
17ICheckContext checkContext, 22public void ProcessBuildFinished(ICheckContext analysisContext) 31ICheckContext checkContext, 37ICheckContext checkContext, 43ICheckContext checkContext, 50ICheckContext checkContext) 58public void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext checkContext, 63public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath) 71public void StartProjectRequest(ICheckContext checksContext, string projectFullPath) 75public void EndProjectRequest(ICheckContext checkContext, string projectFullPath) 89public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 93public void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs)
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)