2 implementations of ICheckContext
Microsoft.Build (2)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
15internal class CheckDispatchingContext : ICheckContext
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (1)
21: ICheckContext
92 references to ICheckContext
Microsoft.Build (92)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
906public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (1)
32ICheckContext checkContext)
BuildCheck\Acquisition\IBuildCheckAcquisitionModule.cs (1)
16List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData, ICheckContext checkContext);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (3)
87var checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!); 136ICheckContext checkContext = _checkContextFactory.CreateCheckContext(GetBuildEventContext(eventArgs)); 188private 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 (19)
105ICheckContext checkContext) 209ICheckContext checkContext) 329private void SetupChecksForNewProject(string projectFullPath, ICheckContext checkContext) 361private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove, ICheckContext checkContext) 370public void RemoveChecksAfterExecutedActions(List<CheckWrapper>? checksToRemove, ICheckContext checkContext) 428ICheckContext checkContext, 463public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 479public void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs) 490ICheckContext checkContext, 495public void ProcessBuildFinished(ICheckContext checkContext) 499ICheckContext checkContext, 505ICheckContext checkContext, 601ICheckContext checkContext, 615public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath) 620ICheckContext checkContext, 643public void StartProjectRequest(ICheckContext checkContext, string projectFullPath) 679void IResultReporter.ReportResult(BuildEventArgs eventArgs, ICheckContext checkContext) 709ICheckContext checkContext, 794void ReportResult(BuildEventArgs result, ICheckContext 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 (1)
14/// <see cref="ICheckContext"/> that uses <see cref="ILoggingService"/> to dispatch.
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)
38ICheckContext checksContext, 42ICheckContext checksContext, 46ICheckContext checksContext, 50ICheckContext checksContext, 54ICheckContext checksContext, 57void ProcessBuildFinished(ICheckContext analysisContext); 62void ProcessCheckAcquisition(CheckAcquisitionData acquisitionData, ICheckContext checksContext); 64void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs); 77void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext analysisContext, string projectFullPath); 79void ProcessProjectEvaluationStarted(BuildCheckDataSource buildCheckDataSource, ICheckContext checksContext, string projectFullPath); 83void StartProjectRequest(ICheckContext checksContext, string projectFullPath); 85void EndProjectRequest(ICheckContext checksContext, string projectFullPath);
BuildCheck\Infrastructure\InternalOM\IBuildEngineDataRouter.cs (1)
31void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (13)
18ICheckContext checkContext, 23public void ProcessBuildFinished(ICheckContext analysisContext) 32ICheckContext checkContext, 38ICheckContext checkContext, 44ICheckContext checkContext, 52ICheckContext checkContext) 60public void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext checkContext, 65public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath) 69public void ProcessProjectEvaluationStarted(BuildCheckDataSource buildCheckDataSource, ICheckContext checkContext, string projectFullPath) 77public void StartProjectRequest(ICheckContext checksContext, string projectFullPath) 81public void EndProjectRequest(ICheckContext checkContext, string projectFullPath) 95public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 99public void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs)
BuildCheck\OM\BuildCheckDataContext.cs (4)
59private readonly ICheckContext _checkContext; 61private readonly Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> _resultHandler; 65ICheckContext loggingContext, 67Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler,