18 references to BuildCheckDataSource
Microsoft.Build (18)
BackEnd\BuildManager\BuildManager.cs (1)
2926buildCheckManagerProvider!.Instance.SetDataSource(BuildCheckDataSource.EventArgs);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1115buildCheckManager?.SetDataSource(BuildCheckDataSource.BuildExecution); 1130BuildCheckDataSource.BuildExecution,
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
89BuildCheckDataSource.EventArgs,
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (9)
69private readonly bool[] _enabledDataSources = new bool[(int)BuildCheckDataSource.ValuesCount]; 81private bool IsInProcNode => _enabledDataSources[(int)BuildCheckDataSource.EventArgs] && 82_enabledDataSources[(int)BuildCheckDataSource.BuildExecution]; 89public void SetDataSource(BuildCheckDataSource buildCheckDataSource) 111RegisterCustomCheck(acquisitionData.ProjectPath, BuildCheckDataSource.EventArgs, checksFactories, checkContext); 167private void RegisterBuiltInChecks(BuildCheckDataSource buildCheckDataSource) 191BuildCheckDataSource buildCheckDataSource, 558BuildCheckDataSource buildCheckDataSource, 562if (buildCheckDataSource == BuildCheckDataSource.EventArgs && IsInProcNode)
BuildCheck\Infrastructure\BuildCheckReplayModeConnector.cs (1)
32buildCheckManagerProvider!.Instance.SetDataSource(BuildCheckDataSource.EventArgs);
BuildCheck\Infrastructure\IBuildCheckManager.cs (2)
58void SetDataSource(BuildCheckDataSource buildCheckDataSource); 75void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext analysisContext, string projectFullPath);
BuildCheck\Infrastructure\NullBuildCheckManager.cs (2)
26public void SetDataSource(BuildCheckDataSource buildCheckDataSource) 58public void ProjectFirstEncountered(BuildCheckDataSource buildCheckDataSource, ICheckContext checkContext,