2 implementations of ICheckContext
Microsoft.Build (2)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
16internal class CheckDispatchingContext : ICheckContext
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (1)
22: ICheckContext
92 references to ICheckContext
Microsoft.Build (92)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
886public 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)
89var checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!); 138ICheckContext checkContext = _checkContextFactory.CreateCheckContext(GetBuildEventContext(eventArgs)); 190private void LogCheckStats(ICheckContext checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (22)
28Action<List<CheckWrapper>?, ICheckContext> removeCheck) 100private readonly Action<List<CheckWrapper>?, ICheckContext> _removeChecks; 178ICheckContext checkContext, 179Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 185ICheckContext checkContext, 186Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 194ICheckContext checkContext, 195Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 202ICheckContext checkContext, 203Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 210ICheckContext checkContext, 211Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 219Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 227Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 234ICheckContext checkContext, 235Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 242ICheckContext checkContext, 243Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 248ICheckContext checkContext, 249Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 255ICheckContext checkContext, 256Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (19)
105ICheckContext checkContext) 210ICheckContext checkContext) 330private void SetupChecksForNewProject(string projectFullPath, ICheckContext checkContext) 362private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove, ICheckContext checkContext) 371public void RemoveChecksAfterExecutedActions(List<CheckWrapper>? checksToRemove, ICheckContext checkContext) 429ICheckContext checkContext, 464public void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs) 480public void ProcessProjectImportedEventArgs(ICheckContext checkContext, ProjectImportedEventArgs projectImportedEventArgs) 491ICheckContext checkContext, 496public void ProcessBuildFinished(ICheckContext checkContext) 500ICheckContext checkContext, 506ICheckContext checkContext, 602ICheckContext checkContext, 616public void ProcessProjectEvaluationStarted(ICheckContext checkContext, string projectFullPath) 621ICheckContext checkContext, 644public void StartProjectRequest(ICheckContext checkContext, string projectFullPath) 680void IResultReporter.ReportResult(BuildEventArgs eventArgs, ICheckContext checkContext) 710ICheckContext checkContext, 795void ReportResult(BuildEventArgs result, ICheckContext checkContext);
BuildCheck\Infrastructure\BuildEventsProcessor.cs (9)
67ICheckContext checkContext, 107internal void ProcessEnvironmentVariableReadEventArgs(ICheckContext checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation) 117internal void ProcessProjectImportedEventArgs(ICheckContext checkContext, string projectPath, string importedProjectPath) 124internal void ProcessBuildDone(ICheckContext checkContext) 136ICheckContext checkContext, 175ICheckContext checkContext, 194ICheckContext checkContext, 239public void ProcessProjectDone(ICheckContext checkContext, string projectFullPath) 247ICheckContext checkContext,
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
14/// <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)
15/// <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,