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