1 instantiation of CheckWrapper
Microsoft.Build (1)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
650
return new
CheckWrapper
(ba, resultReporter);
41 references to CheckWrapper
Microsoft.Build (40)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (30)
25
List<(
CheckWrapper
, Action<BuildCheckDataContext<EvaluatedPropertiesCheckData>>)> EvaluatedPropertiesActions,
26
List<(
CheckWrapper
, Action<BuildCheckDataContext<ParsedItemsCheckData>>)> ParsedItemsActions,
27
List<(
CheckWrapper
, Action<BuildCheckDataContext<TaskInvocationCheckData>>)> TaskInvocationActions,
28
List<(
CheckWrapper
, Action<BuildCheckDataContext<PropertyReadData>>)> PropertyReadActions,
29
List<(
CheckWrapper
, Action<BuildCheckDataContext<PropertyWriteData>>)> PropertyWriteActions,
30
List<(
CheckWrapper
, Action<BuildCheckDataContext<ProjectRequestProcessingDoneData>>)> ProjectRequestProcessingDoneActions,
31
List<(
CheckWrapper
, Action<BuildCheckDataContext<BuildFinishedCheckData>>)> BuildFinishedActions,
32
List<(
CheckWrapper
, Action<BuildCheckDataContext<EnvironmentVariableCheckData>>)> EnvironmentVariableCheckDataActions)
39
internal void DeregisterCheck(
CheckWrapper
check)
67
internal void RegisterEnvironmentVariableReadAction(
CheckWrapper
check, Action<BuildCheckDataContext<EnvironmentVariableCheckData>> environmentVariableAction)
70
internal void RegisterEvaluatedPropertiesAction(
CheckWrapper
check, Action<BuildCheckDataContext<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction)
75
internal void RegisterParsedItemsAction(
CheckWrapper
check, Action<BuildCheckDataContext<ParsedItemsCheckData>> parsedItemsAction)
78
internal void RegisterTaskInvocationAction(
CheckWrapper
check, Action<BuildCheckDataContext<TaskInvocationCheckData>> taskInvocationAction)
81
internal void RegisterPropertyReadAction(
CheckWrapper
check, Action<BuildCheckDataContext<PropertyReadData>> propertyReadAction)
84
internal void RegisterPropertyWriteAction(
CheckWrapper
check, Action<BuildCheckDataContext<PropertyWriteData>> propertyWriteAction)
87
internal void RegisterProjectRequestProcessingDoneAction(
CheckWrapper
check, Action<BuildCheckDataContext<ProjectRequestProcessingDoneData>> projectDoneAction)
90
internal void RegisterBuildFinishedAction(
CheckWrapper
check, Action<BuildCheckDataContext<BuildFinishedCheckData>> buildFinishedAction)
94
CheckWrapper
wrappedCheck,
96
List<(
CheckWrapper
, Action<BuildCheckDataContext<T>>)> handlersRegistry)
111
internal void DeregisterCheck(
CheckWrapper
check) => _globalCallbacks.DeregisterCheck(check);
116
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
123
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
130
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
138
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
146
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
154
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
162
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
170
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
176
List<(
CheckWrapper
, Action<BuildCheckDataContext<T>>)> registeredCallbacks,
179
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (4)
22
internal delegate
CheckWrapper
CheckWrapperFactory(ConfigurationContext configurationContext);
228
CheckWrapper
wrapper;
635
public
CheckWrapper
Initialize(Check ba, IResultReporter resultReporter, ConfigurationContext configContext)
653
public
CheckWrapper
? MaterializedCheck { get; set; }
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
222
CheckWrapper
checkWrapper,
BuildCheck\Infrastructure\CheckRegistrationContext.cs (1)
11
internal sealed class CheckRegistrationContext(
CheckWrapper
checkWrapper, BuildCheckCentralContext buildCheckCentralContext) : IInternalCheckRegistrationContext
BuildCheck\OM\BuildCheckDataContext.cs (4)
65
private readonly
CheckWrapper
_executionCheckWrapper;
68
private readonly Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> _resultHandler;
71
CheckWrapper
checkWrapper,
74
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler,
Microsoft.Build.BuildCheck.UnitTests (1)
MockBuildCheckRegistrationContext.cs (1)
54
private void ResultHandler(
CheckWrapper
wrapper, ICheckContext context, CheckConfigurationEffective[] configs, BuildCheckResult result)