1 implementation of BuildEventContext
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
33
public BuildEventContext
BuildEventContext
=> _eventContext;
14 references to BuildEventContext
Microsoft.Build (14)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
165
{ BuildEventContext = checkContext.
BuildEventContext
};
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (4)
122
eventArgs.BuildEventContext = checkContext.
BuildEventContext
!;
383
if (TryGetProjectFullPath(checkContext.
BuildEventContext
, out string projectPath))
517
_projectsByEvaluationId[checkContext.
BuildEventContext
.EvaluationId] = projectFullPath;
533
BuildEventContext buildEventContext = checkContext.
BuildEventContext
;
BuildCheck\Infrastructure\BuildEventsProcessor.cs (2)
94
EnvironmentVariableCheckData checkData = new(projectPath, checkContext.
BuildEventContext
?.ProjectInstanceId, envVarKey, envVarValue, elementLocation);
217
new ProjectRequestProcessingDoneData(projectFullPath, checkContext.
BuildEventContext
.ProjectInstanceId),
BuildCheck\Infrastructure\CheckContext\ICheckContext.cs (6)
15
/// Interface that contains an instance of <see cref="
BuildEventContext
"/> and methods to dispatch it.
20
/// Instance of <see cref="
BuildEventContext
"/>.
25
/// Dispatch the instance of <see cref="
BuildEventContext
"/> as a comment.
35
/// Dispatch the instance of <see cref="
BuildEventContext
"/> as an error message.
40
/// Dispatch the instance of <see cref="
BuildEventContext
"/> as a comment with provided text for the message.
45
/// Dispatch the instance of <see cref="
BuildEventContext
"/> as a warning message.
BuildCheck\Infrastructure\CheckWrapper.cs (1)
162
eventArgs.BuildEventContext = checkContext.
BuildEventContext
;