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
2 implementations of IEventSource
Microsoft.Build (1)
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
16
public class EventArgsDispatcher :
IEventSource
Microsoft.Build.CommandLine.UnitTests (1)
TerminalLogger_Tests.cs (1)
29
public class TerminalLogger_Tests :
IEventSource
, IDisposable
99 references to IEventSource
Microsoft.Build (39)
BackEnd\BuildManager\BuildManager.cs (1)
3284
public void Initialize(
IEventSource
eventSource)
BackEnd\Components\Logging\CentralForwardingLogger.cs (2)
69
public void Initialize(
IEventSource
eventSource, int nodeCount)
79
public void Initialize(
IEventSource
eventSource)
BackEnd\Components\Logging\LoggingService.cs (1)
1787
private void InitializeLogger(ILogger logger,
IEventSource
sourceForLogger)
BuildCheck\Infrastructure\BuildCheckConnectorLogger.cs (1)
35
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)
Definition\ProjectCollection.cs (6)
1850
private
IEventSource
_designTimeEventSource;
1855
private
IEventSource
_buildTimeEventSource;
2127
public void Initialize(
IEventSource
eventSource, int nodeCount)
2156
public void Initialize(
IEventSource
eventSource)
2186
private void RegisterForEvents(
IEventSource
eventSource)
2256
private void UnregisterForEvents(
IEventSource
eventSource)
Logging\BaseConsoleLogger.cs (2)
889
public virtual void Initialize(
IEventSource
eventSource, int nodeCount)
899
public virtual void Initialize(
IEventSource
eventSource)
Logging\BinaryLogger\BinaryLogger.cs (1)
162
public void Initialize(
IEventSource
eventSource)
Logging\ConsoleLogger.cs (2)
346
public virtual void Initialize(
IEventSource
eventSource)
355
public virtual void Initialize(
IEventSource
eventSource, int nodeCount)
Logging\DistributedLoggers\ConfigurableForwardingLogger.cs (5)
71
private void ParseParameters(
IEventSource
eventSource)
106
private void ApplyParameter(
IEventSource
eventSource, string parameterName)
203
public virtual void Initialize(
IEventSource
eventSource)
218
public void Initialize(
IEventSource
eventSource, int nodeCount)
223
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)
57
public override void Initialize(
IEventSource
eventSource)
72
private void InitializeFileLogger(
IEventSource
eventSource, int nodeCount)
136
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\SimpleErrorLogger.cs (2)
44
public void Initialize(
IEventSource
eventSource, int nodeCount)
81
public void Initialize(
IEventSource
eventSource)
Microsoft.Build.Engine.UnitTests (10)
BackEnd\EventSourceSink_Tests.cs (1)
423
internal EventHandlerHelper(
IEventSource
source, Exception exceptionToThrow)
BackEnd\LoggingService_Tests.cs (4)
1349
public void Initialize(
IEventSource
eventSource)
1374
public void Initialize(
IEventSource
eventSource, int nodeCount)
1427
public void Initialize(
IEventSource
eventSource)
1487
public void Initialize(
IEventSource
eventSource)
BackEnd\TaskHost_Tests.cs (1)
1260
public void Initialize(
IEventSource
eventSource)
BinaryLogger_Tests.cs (4)
663
var
eventSource = A.Fake<
IEventSource
>();
684
var
eventSource = A.Fake<
IEventSource
>();
Microsoft.Build.Framework (31)
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);
Microsoft.Build.UnitTests.Shared (1)
MockLogger.cs (1)
196
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.Build.Utilities.UnitTests (4)
EventArgsFormatting_Tests.cs (1)
188
public override void Initialize(
IEventSource
eventSource)
Logger_Tests.cs (1)
30
public override void Initialize(
IEventSource
eventSource)
MuxLogger_Tests.cs (2)
344
private
IEventSource
_eventSource;
385
public void Initialize(
IEventSource
eventSource)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (2)
14
private MSB.Framework.
IEventSource
? _eventSource;
37
public void Initialize(MSB.Framework.
IEventSource
eventSource)
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
31
public void Initialize(
IEventSource
eventSource)
MSBuild (3)
TerminalLogger\TerminalLogger.cs (2)
257
public void Initialize(
IEventSource
eventSource, int nodeCount)
266
public void Initialize(
IEventSource
eventSource)
XMake.cs (1)
4455
var
eventSource = isBuildCheckEnabled ?
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
64
public override void Initialize(
IEventSource
eventSource)
XmlFileLogger (1)
XmlFileLogger.cs (1)
42
public override void Initialize(
IEventSource
eventSource)