1 implementation of ICheckContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
15internal class CheckDispatchingContext : ICheckContext
90 references to ICheckContext
Microsoft.Build (87)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
841public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (1)
30ICheckContext checkContext)
BuildCheck\Acquisition\IBuildCheckAcquisitionModule.cs (1)
14List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData, ICheckContext checkContext);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (2)
87var checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!); 161private void LogCheckStats(ICheckContext checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (22)
21Action<List<CheckWrapper>?, ICheckContext> removeCheck) 60private readonly Action<List<CheckWrapper>?, ICheckContext> _removeChecks; 133ICheckContext checkContext, 134Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 140ICheckContext checkContext, 141Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 149ICheckContext checkContext, 150Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 157ICheckContext checkContext, 158Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 165ICheckContext checkContext, 166Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 174Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 182Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 189ICheckContext checkContext, 190Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 197ICheckContext checkContext, 198Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 203ICheckContext checkContext, 204Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 210ICheckContext checkContext, 211Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (18)
103ICheckContext checkContext) 196ICheckContext checkContext) 316private void SetupChecksForNewProject(string projectFullPath, ICheckContext checkContext) 348private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove, ICheckContext checkContext) 357public void RemoveChecksAfterExecutedActions(List<CheckWrapper>? checksToRemove, ICheckContext checkContext) 392ICheckContext checkContext, 427public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 443public void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs) 454ICheckContext checkContext, 459public void ProcessBuildFinished(ICheckContext checkContext) 463ICheckContext checkContext, 469ICheckContext checkContext, 561ICheckContext checkContext, 575public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath) 580ICheckContext checkContext, 603public void StartProjectRequest(ICheckContext checkContext, string projectFullPath) 639void IResultReporter.ReportResult(BuildEventArgs eventArgs, ICheckContext checkContext) 669ICheckContext checkContext,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (9)
65ICheckContext checkContext, 105internal void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation) 115internal void ProcessProjectImportedEventArgs(ICheckContext checkContext, string projectPath, string importedProjectPath) 122internal void ProcessBuildDone(ICheckContext checkContext) 134ICheckContext checkContext, 171ICheckContext checkContext, 193ICheckContext checkContext, 238public void ProcessProjectDone(ICheckContext checkContext, string projectFullPath) 246ICheckContext checkContext,
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
13/// <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)
14/// <see cref="ICheckContext"/> that uses <see cref="ILoggingService"/> to dispatch. 21: ICheckContext
BuildCheck\Infrastructure\CheckContext\CheckLoggingContextFactory.cs (1)
15public ICheckContext CreateCheckContext(BuildEventContext eventContext)
BuildCheck\Infrastructure\CheckContext\ICheckContextFactory.cs (1)
10ICheckContext CreateCheckContext(BuildEventContext eventContext);
BuildCheck\Infrastructure\CheckWrapper.cs (1)
153internal 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(BuildCheckDataSource buildCheckDataSource, 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 (13)
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) 67public void ProcessProjectEvaluationStarted(BuildCheckDataSource buildCheckDataSource, ICheckContext checkContext, string projectFullPath) 75public void StartProjectRequest(ICheckContext checksContext, string projectFullPath) 79public void EndProjectRequest(ICheckContext checkContext, string projectFullPath) 93public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 97public 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)
57private 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)