2 interfaces inheriting from IEventSource
Microsoft.Build (1)
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (1)
18
IEventSource
,
Microsoft.Build.Framework (1)
IEventSource2.cs (1)
18
public interface IEventSource2 :
IEventSource
1 implementation of IEventSource
Microsoft.Build (1)
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
16
public class EventArgsDispatcher :
IEventSource
108 references to IEventSource
dotnet (5)
Commands\MSBuild\MSBuildForwardingLogger.cs (2)
20
public void Initialize(
IEventSource
eventSource)
39
public void Initialize(
IEventSource
eventSource, int nodeCount)
Commands\MSBuild\MSBuildLogger.cs (2)
86
public void Initialize(
IEventSource
eventSource, int nodeCount)
91
public void Initialize(
IEventSource
eventSource)
LoggerUtility.cs (1)
182
public void Initialize(
IEventSource
eventSource)
Microsoft.Build (58)
BackEnd\BuildManager\BuildManager.cs (1)
3588
public void Initialize(
IEventSource
eventSource)
BackEnd\Components\Logging\CentralForwardingLogger.cs (2)
68
public void Initialize(
IEventSource
eventSource, int nodeCount)
78
public void Initialize(
IEventSource
eventSource)
BackEnd\Components\Logging\LoggingService.cs (1)
1827
private void InitializeLogger(ILogger logger,
IEventSource
sourceForLogger)
BuildCheck\Infrastructure\BuildCheckConnectorLogger.cs (1)
31
public void Initialize(
IEventSource
eventSource)
BuildCheck\Infrastructure\BuildCheckForwardingLogger.cs (2)
48
public void Initialize(
IEventSource
eventSource, int nodeCount) => Initialize(eventSource);
50
public void Initialize(
IEventSource
eventSource) => eventSource.AnyEventRaised += EventSource_AnyEventRaised;
BuildCheck\Infrastructure\BuildCheckReplayModeConnector.cs (5)
13
/// The class that creates an <see cref="
IEventSource
"/> for binary log replay with BuildCheck enabled.
18
/// Gets merged <see cref="
IEventSource
"/> for binary log replay with BuildCheck enabled.
22
/// <returns>The merged <see cref="
IEventSource
"/>. Used for binary log replay.</returns>
23
public static
IEventSource
GetMergedEventSource(
25
IEventSource
replayEventSource)
Logging\BaseConsoleLogger.cs (2)
888
public virtual void Initialize(
IEventSource
eventSource, int nodeCount)
898
public virtual void Initialize(
IEventSource
eventSource)
Logging\BinaryLogger\BinaryLogger.cs (1)
343
public void Initialize(
IEventSource
eventSource)
Logging\ConsoleLogger.cs (2)
311
public virtual void Initialize(
IEventSource
eventSource)
320
public virtual void Initialize(
IEventSource
eventSource, int nodeCount)
Logging\DistributedLoggers\ConfigurableForwardingLogger.cs (5)
72
private void ParseParameters(
IEventSource
eventSource)
107
private void ApplyParameter(
IEventSource
eventSource, string parameterName)
204
public virtual void Initialize(
IEventSource
eventSource)
219
public void Initialize(
IEventSource
eventSource, int nodeCount)
224
private void SetForwardingBasedOnVerbosity(
IEventSource
eventSource)
Logging\DistributedLoggers\DistributedFileLogger.cs (2)
34
public void Initialize(
IEventSource
eventSource, int nodeCount)
95
public void Initialize(
IEventSource
eventSource)
Logging\FileLogger.cs (3)
56
public override void Initialize(
IEventSource
eventSource)
71
private void InitializeFileLogger(
IEventSource
eventSource, int nodeCount)
134
public override void Initialize(
IEventSource
eventSource, int nodeCount)
Logging\NullCentralLogger.cs (2)
49
public void Initialize(
IEventSource
eventSource, int nodeCount)
62
public void Initialize(
IEventSource
eventSource)
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
161
public override void Initialize(
IEventSource
eventSource)
Logging\ProfilerLogger.cs (1)
71
public void Initialize(
IEventSource
eventSource)
Logging\ReusableLogger.cs (6)
39
private
IEventSource
? _designTimeEventSource;
44
private
IEventSource
? _buildTimeEventSource;
323
public void Initialize(
IEventSource
eventSource, int nodeCount)
352
public void Initialize(
IEventSource
eventSource) => Initialize(eventSource, 1);
382
private void RegisterForEvents(
IEventSource
eventSource)
458
private void UnregisterForEvents(
IEventSource
eventSource)
Logging\SimpleErrorLogger.cs (2)
44
public void Initialize(
IEventSource
eventSource, int nodeCount)
81
public void Initialize(
IEventSource
eventSource)
Logging\TerminalLogger\ForwardingTerminalLogger.cs (2)
26
public void Initialize(
IEventSource
eventSource, int nodeCount)
33
public void Initialize(
IEventSource
eventSource)
Logging\TerminalLogger\TerminalLogger.cs (16)
47
/// A wrapper over the project context ID passed to us in <see cref="
IEventSource
"/> logger events.
58
/// A wrapper over the evaluation context ID passed to us in <see cref="
IEventSource
"/> logger events.
119
/// The timestamp of the <see cref="
IEventSource
.BuildStarted"/> event.
433
public void Initialize(
IEventSource
eventSource, int nodeCount)
442
public void Initialize(
IEventSource
eventSource)
571
/// The <see cref="
IEventSource
.BuildStarted"/> callback.
591
/// The <see cref="
IEventSource
.BuildFinished"/> callback.
732
/// The <see cref="
IEventSource
.ProjectStarted"/> callback.
776
/// The <see cref="
IEventSource
.ProjectFinished"/> callback.
1053
/// The <see cref="
IEventSource
.TargetStarted"/> callback.
1117
/// The <see cref="
IEventSource
.TargetFinished"/> callback. Unused.
1157
/// The <see cref="
IEventSource
.TaskStarted"/> callback.
1175
/// The <see cref="
IEventSource
.TaskFinished"/> callback.
1194
/// The <see cref="
IEventSource
.MessageRaised"/> callback.
1353
/// The <see cref="
IEventSource
.WarningRaised"/> callback.
1442
/// The <see cref="
IEventSource
.ErrorRaised"/> callback.
TelemetryInfra\InternalTelemetryConsumingLogger.cs (1)
19
public void Initialize(
IEventSource
eventSource)
Microsoft.Build.Framework (33)
IEventSource.cs (29)
169
/// Helper methods for <see cref="
IEventSource
"/> interface.
174
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.MessageRaised"/> event.
178
public static void HandleMessageRaised(this
IEventSource
eventSource, BuildMessageEventHandler handler)
185
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.ErrorRaised"/> event.
189
public static void HandleErrorRaised(this
IEventSource
eventSource, BuildErrorEventHandler handler)
196
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.WarningRaised"/> event.
200
public static void HandleWarningRaised(this
IEventSource
eventSource, BuildWarningEventHandler handler)
207
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.BuildStarted"/> event.
211
public static void HandleBuildStarted(this
IEventSource
eventSource, BuildStartedEventHandler handler)
218
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.BuildFinished"/> event.
222
public static void HandleBuildFinished(this
IEventSource
eventSource, BuildFinishedEventHandler handler)
229
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.ProjectStarted"/> event.
233
public static void HandleProjectStarted(this
IEventSource
eventSource, ProjectStartedEventHandler handler)
240
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.ProjectFinished"/> event.
244
public static void HandleProjectFinished(this
IEventSource
eventSource, ProjectFinishedEventHandler handler)
252
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.TargetStarted"/> event.
256
public static void HandleTargetStarted(this
IEventSource
eventSource, TargetStartedEventHandler handler)
263
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.TargetFinished"/> event.
267
public static void HandleTargetFinished(this
IEventSource
eventSource, TargetFinishedEventHandler handler)
274
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.TaskStarted"/> event.
278
public static void HandleTaskStarted(this
IEventSource
eventSource, TaskStartedEventHandler handler)
285
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.TaskFinished"/> event.
289
public static void HandleTaskFinished(this
IEventSource
eventSource, TaskFinishedEventHandler handler)
296
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.CustomEventRaised"/> event.
300
public static void HandleCustomEventRaised(this
IEventSource
eventSource, CustomBuildEventHandler handler)
307
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.StatusEventRaised"/> event.
311
public static void HandleStatusEventRaised(this
IEventSource
eventSource, BuildStatusEventHandler handler)
318
/// Helper method ensuring single deduplicated subscription to the <see cref="
IEventSource
.AnyEventRaised"/> event.
322
public static void HandleAnyEventRaised(this
IEventSource
eventSource, AnyEventHandler handler)
ILogger.cs (1)
82
void Initialize(
IEventSource
eventSource);
INodeLogger.cs (1)
27
void Initialize(
IEventSource
eventSource, int nodeCount);
Telemetry\InternalTelemetryForwardingLogger.cs (2)
19
public void Initialize(
IEventSource
eventSource, int nodeCount) => Initialize(eventSource);
21
public void Initialize(
IEventSource
eventSource)
Microsoft.Build.Utilities.Core (6)
Logger.cs (1)
33
public abstract void Initialize(
IEventSource
eventSource);
MuxLogger.cs (5)
68
private
IEventSource
_eventSourceForBuild;
145
public void Initialize(
IEventSource
eventSource) => Initialize(eventSource, 1);
150
public void Initialize(
IEventSource
eventSource, int maxNodeCount)
360
private readonly
IEventSource
_eventSourceForBuild;
467
internal SubmissionRecord(int submissionId,
IEventSource
buildEventSource, BuildStartedEventArgs buildStartedEvent, int maxNodeCount)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (2)
23
private MSB.Framework.
IEventSource
? _eventSource;
64
public void Initialize(MSB.Framework.
IEventSource
eventSource)
MSBuild (1)
XMake.cs (1)
4067
var
eventSource = isBuildCheckEnabled ?
NuGet.Build.Tasks.Console (3)
ConsoleLoggingQueue.cs (3)
33
/// Gets or sets an <see cref="
IEventSource
" /> object for subscribing to MSBuild logging events.
35
private
IEventSource
_eventSource;
113
void ILogger.Initialize(
IEventSource
eventSource)