1 instantiation of CheckWrapper
Microsoft.Build (1)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
738
return new
CheckWrapper
(ba, resultReporter);
53 references to CheckWrapper
Microsoft.Build (52)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (40)
21
Action<List<
CheckWrapper
>?, ICheckContext> removeCheck)
28
List<(
CheckWrapper
, Action<BuildCheckDataContext<EvaluatedPropertiesCheckData>>)> EvaluatedPropertiesActions,
30
List<(
CheckWrapper
, Action<BuildCheckDataContext<ParsedItemsCheckData>>)> ParsedItemsActions,
32
List<(
CheckWrapper
, Action<BuildCheckDataContext<EvaluatedItemsCheckData>>)> EvaluatedItemsActions,
33
List<(
CheckWrapper
, Action<BuildCheckDataContext<TaskInvocationCheckData>>)> TaskInvocationActions,
34
List<(
CheckWrapper
, Action<BuildCheckDataContext<PropertyReadData>>)> PropertyReadActions,
35
List<(
CheckWrapper
, Action<BuildCheckDataContext<PropertyWriteData>>)> PropertyWriteActions,
36
List<(
CheckWrapper
, Action<BuildCheckDataContext<ProjectRequestProcessingDoneData>>)> ProjectRequestProcessingDoneActions,
37
List<(
CheckWrapper
, Action<BuildCheckDataContext<BuildFinishedCheckData>>)> BuildFinishedActions,
38
List<(
CheckWrapper
, Action<BuildCheckDataContext<EnvironmentVariableCheckData>>)> EnvironmentVariableCheckDataActions,
39
List<(
CheckWrapper
, Action<BuildCheckDataContext<ProjectImportedCheckData>>)> ProjectImportedCheckDataActions)
46
internal void DeregisterCheck(
CheckWrapper
check)
60
private readonly Action<List<
CheckWrapper
>?, ICheckContext> _removeChecks;
77
internal void RegisterEnvironmentVariableReadAction(
CheckWrapper
check, Action<BuildCheckDataContext<EnvironmentVariableCheckData>> environmentVariableAction)
80
internal void RegisterEvaluatedPropertiesAction(
CheckWrapper
check, Action<BuildCheckDataContext<EvaluatedPropertiesCheckData>> evaluatedPropertiesAction)
86
internal void RegisterParsedItemsAction(
CheckWrapper
check, Action<BuildCheckDataContext<ParsedItemsCheckData>> parsedItemsAction)
90
internal void RegisterEvaluatedItemsAction(
CheckWrapper
check, Action<BuildCheckDataContext<EvaluatedItemsCheckData>> parsedItemsAction)
93
internal void RegisterTaskInvocationAction(
CheckWrapper
check, Action<BuildCheckDataContext<TaskInvocationCheckData>> taskInvocationAction)
96
internal void RegisterPropertyReadAction(
CheckWrapper
check, Action<BuildCheckDataContext<PropertyReadData>> propertyReadAction)
99
internal void RegisterPropertyWriteAction(
CheckWrapper
check, Action<BuildCheckDataContext<PropertyWriteData>> propertyWriteAction)
102
internal void RegisterProjectRequestProcessingDoneAction(
CheckWrapper
check, Action<BuildCheckDataContext<ProjectRequestProcessingDoneData>> projectDoneAction)
105
internal void RegisterBuildFinishedAction(
CheckWrapper
check, Action<BuildCheckDataContext<BuildFinishedCheckData>> buildFinishedAction)
108
internal void RegisterProjectImportedAction(
CheckWrapper
check, Action<BuildCheckDataContext<ProjectImportedCheckData>> projectImportedAction)
112
CheckWrapper
wrappedCheck,
114
List<(
CheckWrapper
, Action<BuildCheckDataContext<T>>)> handlersRegistry)
129
internal void DeregisterCheck(
CheckWrapper
check) => _globalCallbacks.DeregisterCheck(check);
134
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
141
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
150
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
158
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
166
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
174
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
182
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
190
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult>
198
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
204
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
208
List<(
CheckWrapper
, Action<BuildCheckDataContext<T>>)> registeredCallbacks,
211
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
215
List<
CheckWrapper
>? checksToRemove = null;
266
checksToRemove = checksToRemove ?? new List<
CheckWrapper
>();
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (6)
21
internal delegate
CheckWrapper
CheckWrapperFactory(ConfigurationContext configurationContext);
242
CheckWrapper
wrapper;
357
public void RemoveChecksAfterExecutedActions(List<
CheckWrapper
>? checksToRemove, ICheckContext checkContext)
361
foreach (
CheckWrapper
check in checksToRemove)
723
public
CheckWrapper
Initialize(Check ba, IResultReporter resultReporter, ConfigurationContext configContext)
741
public
CheckWrapper
? MaterializedCheck { get; set; }
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
245
CheckWrapper
checkWrapper,
BuildCheck\Infrastructure\CheckRegistrationContext.cs (1)
9
internal sealed class CheckRegistrationContext(
CheckWrapper
checkWrapper, BuildCheckCentralContext buildCheckCentralContext)
BuildCheck\OM\BuildCheckDataContext.cs (4)
58
private readonly
CheckWrapper
_executionCheckWrapper;
61
private readonly Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> _resultHandler;
64
CheckWrapper
checkWrapper,
67
Action<
CheckWrapper
, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler,
Microsoft.Build.BuildCheck.UnitTests (1)
MockBuildCheckRegistrationContext.cs (1)
57
private void ResultHandler(
CheckWrapper
wrapper, ICheckContext context, CheckConfigurationEffective[] configs, BuildCheckResult result)