1 implementation of ICheckContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
15
internal class CheckDispatchingContext :
ICheckContext
90 references to ICheckContext
Microsoft.Build (87)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
841
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (1)
30
ICheckContext
checkContext)
BuildCheck\Acquisition\IBuildCheckAcquisitionModule.cs (1)
14
List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData,
ICheckContext
checkContext);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (2)
87
var
checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!);
161
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 (18)
103
ICheckContext
checkContext)
196
ICheckContext
checkContext)
316
private void SetupChecksForNewProject(string projectFullPath,
ICheckContext
checkContext)
348
private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove,
ICheckContext
checkContext)
357
public void RemoveChecksAfterExecutedActions(List<CheckWrapper>? checksToRemove,
ICheckContext
checkContext)
392
ICheckContext
checkContext,
427
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
443
public void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs)
454
ICheckContext
checkContext,
459
public void ProcessBuildFinished(
ICheckContext
checkContext)
463
ICheckContext
checkContext,
469
ICheckContext
checkContext,
561
ICheckContext
checkContext,
575
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
580
ICheckContext
checkContext,
603
public void StartProjectRequest(
ICheckContext
checkContext, string projectFullPath)
639
void IResultReporter.ReportResult(BuildEventArgs eventArgs,
ICheckContext
checkContext)
669
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 (2)
14
/// <see cref="
ICheckContext
"/> that uses <see cref="ILoggingService"/> to dispatch.
21
:
ICheckContext
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)
37
ICheckContext
checksContext,
41
ICheckContext
checksContext,
45
ICheckContext
checksContext,
49
ICheckContext
checksContext,
53
ICheckContext
checksContext,
56
void ProcessBuildFinished(
ICheckContext
analysisContext);
60
void ProcessCheckAcquisition(CheckAcquisitionData acquisitionData,
ICheckContext
checksContext);
62
void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs);
75
void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource,
ICheckContext
analysisContext, string projectFullPath);
77
void ProcessProjectEvaluationStarted(BuildCheckDataSource buildCheckDataSource,
ICheckContext
checksContext, string projectFullPath);
81
void StartProjectRequest(
ICheckContext
checksContext, string projectFullPath);
83
void EndProjectRequest(
ICheckContext
checksContext, string projectFullPath);
BuildCheck\Infrastructure\InternalOM\IBuildEngineDataRouter.cs (1)
31
void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (13)
17
ICheckContext
checkContext,
22
public void ProcessBuildFinished(
ICheckContext
analysisContext)
31
ICheckContext
checkContext,
37
ICheckContext
checkContext,
43
ICheckContext
checkContext,
50
ICheckContext
checkContext)
58
public void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource,
ICheckContext
checkContext,
63
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
67
public void ProcessProjectEvaluationStarted(BuildCheckDataSource buildCheckDataSource,
ICheckContext
checkContext, string projectFullPath)
75
public void StartProjectRequest(
ICheckContext
checksContext, string projectFullPath)
79
public void EndProjectRequest(
ICheckContext
checkContext, string projectFullPath)
93
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
97
public void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs)
Microsoft.Build.BuildCheck.UnitTests (2)
BuildCheckManagerProviderTests.cs (1)
86
public List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData,
ICheckContext
checkContext)
MockBuildCheckRegistrationContext.cs (1)
57
private void ResultHandler(CheckWrapper wrapper,
ICheckContext
context, CheckConfigurationEffective[] configs, BuildCheckResult result)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\MockLoggingService.cs (1)
698
public void ProcessProjectEvaluationStarted(
ICheckContext
analysisContext, string projectFullPath)