1 implementation of ICheckContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
20
internal class CheckDispatchingContext :
ICheckContext
80 references to ICheckContext
Microsoft.Build (77)
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)
90
var
checkContext = _checkContextFactory.CreateCheckContext(eventArgs.BuildEventContext!);
157
private void LogCheckStats(
ICheckContext
checkContext)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (18)
18
public BuildCheckCentralContext(IConfigurationProvider configurationProvider, Action<
ICheckContext
> removeThrottledChecks)
52
private readonly Action<
ICheckContext
> _removeThrottledChecks;
115
ICheckContext
checkContext,
116
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
122
ICheckContext
checkContext,
123
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
129
ICheckContext
checkContext,
130
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
137
ICheckContext
checkContext,
138
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
146
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
154
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
161
ICheckContext
checkContext,
162
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
169
ICheckContext
checkContext,
170
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult>
178
ICheckContext
checkContext,
179
Action<CheckWrapper,
ICheckContext
, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (16)
104
ICheckContext
checkContext)
182
ICheckContext
checkContext)
294
private void SetupChecksForNewProject(string projectFullPath,
ICheckContext
checkContext)
326
private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove,
ICheckContext
checkContext)
335
public void RemoveThrottledChecks(
ICheckContext
checkContext)
357
ICheckContext
checkContext,
379
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
396
ICheckContext
checkContext,
401
public void ProcessBuildFinished(
ICheckContext
checkContext)
405
ICheckContext
checkContext,
411
ICheckContext
checkContext,
499
ICheckContext
checkContext,
514
ICheckContext
checkContext,
531
public void StartProjectRequest(
ICheckContext
checkContext, string projectFullPath)
551
void IResultReporter.ReportResult(BuildEventArgs eventArgs,
ICheckContext
checkContext)
581
ICheckContext
checkContext,
BuildCheck\Infrastructure\BuildEventsProcessor.cs (8)
58
ICheckContext
checkContext,
92
internal void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, string projectPath, string envVarKey, string envVarValue, IElementLocation elementLocation)
99
internal void ProcessBuildDone(
ICheckContext
checkContext)
111
ICheckContext
checkContext,
148
ICheckContext
checkContext,
170
ICheckContext
checkContext,
215
public void ProcessProjectDone(
ICheckContext
checkContext, string projectFullPath)
223
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 (11)
39
ICheckContext
checksContext,
43
ICheckContext
checksContext,
47
ICheckContext
checksContext,
51
ICheckContext
checksContext,
55
ICheckContext
checksContext,
58
void ProcessBuildFinished(
ICheckContext
analysisContext);
62
void ProcessCheckAcquisition(CheckAcquisitionData acquisitionData,
ICheckContext
checksContext);
76
void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource,
ICheckContext
analysisContext, string projectFullPath);
78
void ProcessProjectEvaluationStarted(
ICheckContext
checksContext, string projectFullPath);
82
void StartProjectRequest(
ICheckContext
checksContext, string projectFullPath);
84
void EndProjectRequest(
ICheckContext
checksContext, string projectFullPath);
BuildCheck\Infrastructure\InternalOM\IBuildEngineDataRouter.cs (1)
31
void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (11)
20
ICheckContext
checkContext,
25
public void ProcessBuildFinished(
ICheckContext
analysisContext)
34
ICheckContext
checkContext,
40
ICheckContext
checkContext,
46
ICheckContext
checkContext,
53
ICheckContext
checkContext)
61
public void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource,
ICheckContext
checkContext,
66
public void ProcessProjectEvaluationStarted(
ICheckContext
checkContext, string projectFullPath)
74
public void StartProjectRequest(
ICheckContext
checksContext, string projectFullPath)
78
public void EndProjectRequest(
ICheckContext
checkContext, string projectFullPath)
90
public void ProcessEnvironmentVariableReadEventArgs(
ICheckContext
checkContext, EnvironmentVariableReadEventArgs projectEvaluationEventArgs)
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)