2 implementations of ICheckContext
Microsoft.Build (2)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
15
internal class CheckDispatchingContext :
ICheckContext
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (1)
21
:
ICheckContext
92 references to ICheckContext
Microsoft.Build (92)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
906
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)
87
var
checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!);
136
ICheckContext
checkContext = _checkContextFactory.CreateCheckContext(GetBuildEventContext(eventArgs));
188
private void LogCheckStats(
ICheckContext
checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (22)
21
Action<List<CheckWrapper>?,
ICheckContext
> removeCheck)
60
private readonly Action<List<CheckWrapper>?,
ICheckContext
> _removeChecks;
133
ICheckContext
checkContext,
134
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
140
ICheckContext
checkContext,
141
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
149
ICheckContext
checkContext,
150
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
157
ICheckContext
checkContext,
158
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
165
ICheckContext
checkContext,
166
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
174
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
182
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
189
ICheckContext
checkContext,
190
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
197
ICheckContext
checkContext,
198
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
203
ICheckContext
checkContext,
204
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
210
ICheckContext
checkContext,
211
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (19)
105
ICheckContext
checkContext)
209
ICheckContext
checkContext)
329
private void SetupChecksForNewProject(string projectFullPath,
ICheckContext
checkContext)
361
private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove,
ICheckContext
checkContext)
370
public void RemoveChecksAfterExecutedActions(List<CheckWrapper>? checksToRemove,
ICheckContext
checkContext)
428
ICheckContext
checkContext,
463
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
479
public void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs)
490
ICheckContext
checkContext,
495
public void ProcessBuildFinished(
ICheckContext
checkContext)
499
ICheckContext
checkContext,
505
ICheckContext
checkContext,
601
ICheckContext
checkContext,
615
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
620
ICheckContext
checkContext,
643
public void StartProjectRequest(
ICheckContext
checkContext, string projectFullPath)
679
void IResultReporter.ReportResult(BuildEventArgs eventArgs,
ICheckContext
checkContext)
709
ICheckContext
checkContext,
794
void ReportResult(BuildEventArgs result,
ICheckContext
checkContext);
BuildCheck\Infrastructure\BuildEventsProcessor.cs (9)
65
ICheckContext
checkContext,
105
internal void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation)
115
internal void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, string projectPath, string importedProjectPath)
122
internal void ProcessBuildDone(
ICheckContext
checkContext)
134
ICheckContext
checkContext,
171
ICheckContext
checkContext,
193
ICheckContext
checkContext,
238
public void ProcessProjectDone(
ICheckContext
checkContext, string projectFullPath)
246
ICheckContext
checkContext,
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
13
/// <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)
14
/// <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,