1 implementation of ICheckContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
20
internal class CheckDispatchingContext :
ICheckContext
86 references to ICheckContext
Microsoft.Build (83)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
841
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (1)
29
ICheckContext
checkContext)
BuildCheck\Acquisition\IBuildCheckAcquisitionModule.cs (1)
15
List<CheckFactory> CreateCheckFactories(CheckAcquisitionData checkAcquisitionData,
ICheckContext
checkContext);
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (2)
87
var
checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!);
160
private void LogCheckStats(
ICheckContext
checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (20)
18
public BuildCheckCentralContext(IConfigurationProvider configurationProvider, Action<
ICheckContext
> removeThrottledChecks)
53
private readonly Action<
ICheckContext
> _removeThrottledChecks;
120
ICheckContext
checkContext,
121
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
127
ICheckContext
checkContext,
128
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
134
ICheckContext
checkContext,
135
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
142
ICheckContext
checkContext,
143
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
151
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
159
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
166
ICheckContext
checkContext,
167
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
174
ICheckContext
checkContext,
175
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
180
ICheckContext
checkContext,
181
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
187
ICheckContext
checkContext,
188
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (17)
103
ICheckContext
checkContext)
181
ICheckContext
checkContext)
293
private void SetupChecksForNewProject(string projectFullPath,
ICheckContext
checkContext)
325
private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove,
ICheckContext
checkContext)
334
public void RemoveThrottledChecks(
ICheckContext
checkContext)
356
ICheckContext
checkContext,
390
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
406
public void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, ProjectImportedEventArgs projectImportedEventArgs)
417
ICheckContext
checkContext,
422
public void ProcessBuildFinished(
ICheckContext
checkContext)
426
ICheckContext
checkContext,
432
ICheckContext
checkContext,
523
ICheckContext
checkContext,
538
ICheckContext
checkContext,
558
public void StartProjectRequest(
ICheckContext
checkContext, string projectFullPath)
596
void IResultReporter.ReportResult(BuildEventArgs eventArgs,
ICheckContext
checkContext)
626
ICheckContext
checkContext,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (9)
58
ICheckContext
checkContext,
92
internal void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation)
102
internal void ProcessProjectImportedEventArgs(
ICheckContext
checkContext, string projectPath, string importedProjectPath)
109
internal void ProcessBuildDone(
ICheckContext
checkContext)
121
ICheckContext
checkContext,
158
ICheckContext
checkContext,
180
ICheckContext
checkContext,
225
public void ProcessProjectDone(
ICheckContext
checkContext, string projectFullPath)
233
ICheckContext
checkContext,
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
18
/// <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)
17
/// <see cref="
ICheckContext
"/> that uses <see cref="ILoggingService"/> to dispatch.
24
:
ICheckContext
BuildCheck\Infrastructure\CheckContext\CheckLoggingContextFactory.cs (1)
20
public
ICheckContext
CreateCheckContext(BuildEventContext eventContext)
BuildCheck\Infrastructure\CheckContext\ICheckContextFactory.cs (1)
10
ICheckContext
CreateCheckContext(BuildEventContext eventContext);
BuildCheck\Infrastructure\CheckWrapper.cs (1)
156
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(
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 (12)
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)
71
public void StartProjectRequest(
ICheckContext
checksContext, string projectFullPath)
75
public void EndProjectRequest(
ICheckContext
checkContext, string projectFullPath)
89
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
93
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)
54
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)