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