2 implementations of ICheckContext
Microsoft.Build (2)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
16
internal class CheckDispatchingContext :
ICheckContext
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (1)
22
:
ICheckContext
92 references to ICheckContext
Microsoft.Build (92)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
886
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (1)
32
ICheckContext
checkContext)
BuildCheck\Acquisition\IBuildCheckAcquisitionModule.cs (1)
16
List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData,
ICheckContext
checkContext);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (3)
89
var
checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!);
138
ICheckContext
checkContext = _checkContextFactory.CreateCheckContext(GetBuildEventContext(eventArgs));
190
private void LogCheckStats(
ICheckContext
checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (22)
28
Action<List<CheckWrapper>?,
ICheckContext
> removeCheck)
100
private readonly Action<List<CheckWrapper>?,
ICheckContext
> _removeChecks;
178
ICheckContext
checkContext,
179
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
185
ICheckContext
checkContext,
186
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
194
ICheckContext
checkContext,
195
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
202
ICheckContext
checkContext,
203
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
210
ICheckContext
checkContext,
211
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
219
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
227
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
234
ICheckContext
checkContext,
235
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
242
ICheckContext
checkContext,
243
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
248
ICheckContext
checkContext,
249
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
255
ICheckContext
checkContext,
256
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (19)
105
ICheckContext
checkContext)
210
ICheckContext
checkContext)
330
private void SetupChecksForNewProject(string projectFullPath,
ICheckContext
checkContext)
362
private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove,
ICheckContext
checkContext)
371
public void RemoveChecksAfterExecutedActions(List<CheckWrapper>? checksToRemove,
ICheckContext
checkContext)
429
ICheckContext
checkContext,
464
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
480
public void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs)
491
ICheckContext
checkContext,
496
public void ProcessBuildFinished(
ICheckContext
checkContext)
500
ICheckContext
checkContext,
506
ICheckContext
checkContext,
602
ICheckContext
checkContext,
616
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
621
ICheckContext
checkContext,
644
public void StartProjectRequest(
ICheckContext
checkContext, string projectFullPath)
680
void IResultReporter.ReportResult(BuildEventArgs eventArgs,
ICheckContext
checkContext)
710
ICheckContext
checkContext,
795
void ReportResult(BuildEventArgs result,
ICheckContext
checkContext);
BuildCheck\Infrastructure\BuildEventsProcessor.cs (9)
67
ICheckContext
checkContext,
107
internal void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation)
117
internal void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, string projectPath, string importedProjectPath)
124
internal void ProcessBuildDone(
ICheckContext
checkContext)
136
ICheckContext
checkContext,
175
ICheckContext
checkContext,
194
ICheckContext
checkContext,
239
public void ProcessProjectDone(
ICheckContext
checkContext, string projectFullPath)
247
ICheckContext
checkContext,
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
14
/// <see cref="
ICheckContext
"/> that uses <see cref="EventArgsDispatcher"/> to dispatch.
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContextFactory.cs (1)
22
public
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)
15
public
ICheckContext
CreateCheckContext(BuildEventContext eventContext)
BuildCheck\Infrastructure\CheckContext\ICheckContextFactory.cs (1)
10
ICheckContext
CreateCheckContext(BuildEventContext eventContext);
BuildCheck\Infrastructure\CheckWrapper.cs (1)
153
internal void ReportResult(BuildCheckResult result,
ICheckContext
checkContext, CheckConfigurationEffective config)
BuildCheck\Infrastructure\IBuildCheckManager.cs (12)
38
ICheckContext
checksContext,
42
ICheckContext
checksContext,
46
ICheckContext
checksContext,
50
ICheckContext
checksContext,
54
ICheckContext
checksContext,
57
void ProcessBuildFinished(
ICheckContext
analysisContext);
62
void ProcessCheckAcquisition(CheckAcquisitionData acquisitionData,
ICheckContext
checksContext);
64
void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs);
77
void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource,
ICheckContext
analysisContext, string projectFullPath);
79
void ProcessProjectEvaluationStarted(BuildCheckDataSource buildCheckDataSource,
ICheckContext
checksContext, string projectFullPath);
83
void StartProjectRequest(
ICheckContext
checksContext, string projectFullPath);
85
void EndProjectRequest(
ICheckContext
checksContext, string projectFullPath);
BuildCheck\Infrastructure\InternalOM\IBuildEngineDataRouter.cs (1)
31
void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (13)
18
ICheckContext
checkContext,
23
public void ProcessBuildFinished(
ICheckContext
analysisContext)
32
ICheckContext
checkContext,
38
ICheckContext
checkContext,
44
ICheckContext
checkContext,
52
ICheckContext
checkContext)
60
public void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource,
ICheckContext
checkContext,
65
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
69
public void ProcessProjectEvaluationStarted(BuildCheckDataSource buildCheckDataSource,
ICheckContext
checkContext, string projectFullPath)
77
public void StartProjectRequest(
ICheckContext
checksContext, string projectFullPath)
81
public void EndProjectRequest(
ICheckContext
checkContext, string projectFullPath)
95
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
99
public void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs)
BuildCheck\OM\BuildCheckDataContext.cs (4)
59
private readonly
ICheckContext
_checkContext;
61
private readonly Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> _resultHandler;
65
ICheckContext
loggingContext,
67
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler,