1 instantiation of CheckWrapper
Microsoft.Build (1)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
695
return new
CheckWrapper
(ba, resultReporter);
44 references to CheckWrapper
Microsoft.Build (43)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (33)
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,
33
List<(
CheckWrapper
, Action<BuildCheckDataContext<ProjectImportedCheckData>>)> ProjectImportedCheckDataActions)
40
internal void DeregisterCheck(
CheckWrapper
check)
69
internal void RegisterEnvironmentVariableReadAction(
CheckWrapper
check, Action<BuildCheckDataContext<EnvironmentVariableCheckData>> environmentVariableAction)
72
internal void RegisterEvaluatedPropertiesAction(
CheckWrapper
check, Action<BuildCheckDataContext<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction)
77
internal void RegisterParsedItemsAction(
CheckWrapper
check, Action<BuildCheckDataContext<ParsedItemsCheckData>> parsedItemsAction)
80
internal void RegisterTaskInvocationAction(
CheckWrapper
check, Action<BuildCheckDataContext<TaskInvocationCheckData>> taskInvocationAction)
83
internal void RegisterPropertyReadAction(
CheckWrapper
check, Action<BuildCheckDataContext<PropertyReadData>> propertyReadAction)
86
internal void RegisterPropertyWriteAction(
CheckWrapper
check, Action<BuildCheckDataContext<PropertyWriteData>> propertyWriteAction)
89
internal void RegisterProjectRequestProcessingDoneAction(
CheckWrapper
check, Action<BuildCheckDataContext<ProjectRequestProcessingDoneData>> projectDoneAction)
92
internal void RegisterBuildFinishedAction(
CheckWrapper
check, Action<BuildCheckDataContext<BuildFinishedCheckData>> buildFinishedAction)
95
internal void RegisterProjectImportedAction(
CheckWrapper
check, Action<BuildCheckDataContext<ProjectImportedCheckData>> projectImportedAction)
99
CheckWrapper
wrappedCheck,
101
List<(
CheckWrapper
, Action<BuildCheckDataContext<T>>)> handlersRegistry)
116
internal void DeregisterCheck(
CheckWrapper
check) => _globalCallbacks.DeregisterCheck(check);
121
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
128
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
135
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
143
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
151
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
159
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
167
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
175
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
181
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
185
List<(
CheckWrapper
, Action<BuildCheckDataContext<T>>)> registeredCallbacks,
188
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (4)
21
internal delegate
CheckWrapper
CheckWrapperFactory(ConfigurationContext configurationContext);
227
CheckWrapper
wrapper;
680
public
CheckWrapper
Initialize(Check ba, IResultReporter resultReporter, ConfigurationContext configContext)
698
public
CheckWrapper
? MaterializedCheck { get; set; }
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
232
CheckWrapper
checkWrapper,
BuildCheck\Infrastructure\CheckRegistrationContext.cs (1)
9
internal sealed class CheckRegistrationContext(
CheckWrapper
checkWrapper, BuildCheckCentralContext buildCheckCentralContext)
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)