BuildCheck\Infrastructure\BuildCheckCentralContext.cs (27)
65internal bool HasEvaluatedPropertiesActions => _globalCallbacks.EvaluatedPropertiesActions.Count > 0;
67internal bool HasParsedItemsActions => _globalCallbacks.ParsedItemsActions.Count > 0;
69internal bool HasTaskInvocationActions => _globalCallbacks.TaskInvocationActions.Count > 0;
71internal bool HasPropertyReadActions => _globalCallbacks.PropertyReadActions.Count > 0;
73internal bool HasPropertyWriteActions => _globalCallbacks.PropertyWriteActions.Count > 0;
75internal bool HasBuildFinishedActions => _globalCallbacks.BuildFinishedActions.Count > 0;
78=> RegisterAction(check, environmentVariableAction, _globalCallbacks.EnvironmentVariableCheckDataActions);
83=> RegisterAction(check, evaluatedPropertiesAction, _globalCallbacks.EvaluatedPropertiesActions);
88=> RegisterAction(check, parsedItemsAction, _globalCallbacks.ParsedItemsActions);
91=> RegisterAction(check, parsedItemsAction, _globalCallbacks.EvaluatedItemsActions);
94=> RegisterAction(check, taskInvocationAction, _globalCallbacks.TaskInvocationActions);
97=> RegisterAction(check, propertyReadAction, _globalCallbacks.PropertyReadActions);
100=> RegisterAction(check, propertyWriteAction, _globalCallbacks.PropertyWriteActions);
103=> RegisterAction(check, projectDoneAction, _globalCallbacks.ProjectRequestProcessingDoneActions);
106=> RegisterAction(check, buildFinishedAction, _globalCallbacks.BuildFinishedActions);
109=> RegisterAction(check, projectImportedAction, _globalCallbacks.ProjectImportedCheckDataActions);
129internal void DeregisterCheck(CheckWrapper check) => _globalCallbacks.DeregisterCheck(check);
136=> RunRegisteredActions(_globalCallbacks.EnvironmentVariableCheckDataActions, environmentVariableCheckData, checkContext, resultHandler);
143=> RunRegisteredActions(_globalCallbacks.EvaluatedPropertiesActions, evaluatedPropertiesCheckData, checkContext, resultHandler);
152=> RunRegisteredActions(_globalCallbacks.ParsedItemsActions, parsedItemsCheckData,
160=> RunRegisteredActions(_globalCallbacks.EvaluatedItemsActions, evaluatedItemsCheckData,
168=> RunRegisteredActions(_globalCallbacks.TaskInvocationActions, taskInvocationCheckData,
176=> RunRegisteredActions(_globalCallbacks.PropertyReadActions, propertyReadDataData,
184=> RunRegisteredActions(_globalCallbacks.PropertyWriteActions, propertyWriteData,
192=> RunRegisteredActions(_globalCallbacks.ProjectRequestProcessingDoneActions, projectProcessingDoneData,
199=> RunRegisteredActions(_globalCallbacks.BuildFinishedActions, buildFinishedCheckData, checkContext, resultHandler);
205=> RunRegisteredActions(_globalCallbacks.ProjectImportedCheckDataActions, projectImportedCheckData, checkContext, resultHandler);