BuildCheck\Infrastructure\BuildCheckCentralContext.cs (25)
57internal bool HasEvaluatedPropertiesActions => _globalCallbacks.EvaluatedPropertiesActions.Count > 0;
59internal bool HasParsedItemsActions => _globalCallbacks.ParsedItemsActions.Count > 0;
61internal bool HasTaskInvocationActions => _globalCallbacks.TaskInvocationActions.Count > 0;
63internal bool HasPropertyReadActions => _globalCallbacks.PropertyReadActions.Count > 0;
65internal bool HasPropertyWriteActions => _globalCallbacks.PropertyWriteActions.Count > 0;
67internal bool HasBuildFinishedActions => _globalCallbacks.BuildFinishedActions.Count > 0;
70=> RegisterAction(check, environmentVariableAction, _globalCallbacks.EnvironmentVariableCheckDataActions);
75=> RegisterAction(check, evaluatedPropertiesAction, _globalCallbacks.EvaluatedPropertiesActions);
78=> RegisterAction(check, parsedItemsAction, _globalCallbacks.ParsedItemsActions);
81=> RegisterAction(check, taskInvocationAction, _globalCallbacks.TaskInvocationActions);
84=> RegisterAction(check, propertyReadAction, _globalCallbacks.PropertyReadActions);
87=> RegisterAction(check, propertyWriteAction, _globalCallbacks.PropertyWriteActions);
90=> RegisterAction(check, projectDoneAction, _globalCallbacks.ProjectRequestProcessingDoneActions);
93=> RegisterAction(check, buildFinishedAction, _globalCallbacks.BuildFinishedActions);
96=> RegisterAction(check, projectImportedAction, _globalCallbacks.ProjectImportedCheckDataActions);
116internal void DeregisterCheck(CheckWrapper check) => _globalCallbacks.DeregisterCheck(check);
123=> RunRegisteredActions(_globalCallbacks.EnvironmentVariableCheckDataActions, environmentVariableCheckData, checkContext, resultHandler);
130=> RunRegisteredActions(_globalCallbacks.EvaluatedPropertiesActions, evaluatedPropertiesCheckData, checkContext, resultHandler);
137=> RunRegisteredActions(_globalCallbacks.ParsedItemsActions, parsedItemsCheckData,
145=> RunRegisteredActions(_globalCallbacks.TaskInvocationActions, taskInvocationCheckData,
153=> RunRegisteredActions(_globalCallbacks.PropertyReadActions, propertyReadDataData,
161=> RunRegisteredActions(_globalCallbacks.PropertyWriteActions, propertyWriteData,
169=> RunRegisteredActions(_globalCallbacks.ProjectRequestProcessingDoneActions, projectProcessingDoneData,
176=> RunRegisteredActions(_globalCallbacks.BuildFinishedActions, buildFinishedCheckData, checkContext, resultHandler);
182=> RunRegisteredActions(_globalCallbacks.ProjectImportedCheckDataActions, projectImportedCheckData, checkContext, resultHandler);