public override void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { //Register for the ProjectStarted, TargetStarted, and ProjectFinished events eventSource.ProjectStarted += new ProjectStartedEventHandler(eventSource_ProjectStarted); eventSource.TargetStarted += new TargetStartedEventHandler(eventSource_TargetStarted); eventSource.ProjectFinished += new ProjectFinishedEventHandler(eventSource_ProjectFinished); }
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { //eventSource.AnyEventRaised += eventSource_AnyEventRaised; eventSource.ErrorRaised += eventSource_ErrorRaised; eventSource.MessageRaised += eventSource_MessageRaised; eventSource.BuildFinished += eventSource_BuildFinished; }
public void Initialize(MSB.Framework.IEventSource eventSource) { Debug.Assert(_eventSource == null); _eventSource = eventSource; _eventSource.ErrorRaised += OnErrorRaised; _eventSource.WarningRaised += OnWarningRaised; }
public override void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { eventSource.ProjectStarted += eventSource_ProjectStarted; eventSource.TaskStarted += new Microsoft.Build.Framework.TaskStartedEventHandler(eventSource_TaskStarted); eventSource.MessageRaised += new Microsoft.Build.Framework.BuildMessageEventHandler(eventSource_MessageRaised); eventSource.WarningRaised += new Microsoft.Build.Framework.BuildWarningEventHandler(eventSource_WarningRaised); eventSource.ErrorRaised += new Microsoft.Build.Framework.BuildErrorEventHandler(eventSource_ErrorRaised); eventSource.ProjectFinished += new Microsoft.Build.Framework.ProjectFinishedEventHandler(eventSource_ProjectFinished); }
public void Shutdown() { if (_eventSource != null) { _eventSource.ErrorRaised -= EventSource_ErrorRaised; _eventSource.WarningRaised -= EventSource_WarningRaised; _eventSource = null; } }
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { eventSource.ErrorRaised += OnError; eventSource.WarningRaised += OnWarning; _callOnShutdown.Add(() => { eventSource.ErrorRaised -= OnError; eventSource.WarningRaised -= OnWarning; }); }
public void Shutdown() { if (_eventSource != null) { _eventSource.ErrorRaised -= OnErrorRaised; _eventSource.WarningRaised -= OnWarningRaised; _eventSource = null; _projectFilePath = null; _log = null; } }
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource, int maxNodeCount) { }
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { }
public abstract void Initialize(Microsoft.Build.Framework.IEventSource eventSource);
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { eventSource.ErrorRaised += eventSource_ErrorRaised; eventSource.MessageRaised += eventSource_MessageRaised; eventSource.WarningRaised += eventSource_WarningRaised; }
public override void Initialize(Microsoft.Build.Framework.IEventSource eventSource, int nodeCount) { }
public override void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { eventSource.ErrorRaised += new Microsoft.Build.Framework.BuildErrorEventHandler(eventSource_ErrorRaised); eventSource.WarningRaised += new Microsoft.Build.Framework.BuildWarningEventHandler(eventSource_WarningRaised); eventSource.BuildFinished += new Microsoft.Build.Framework.BuildFinishedEventHandler(eventSource_BuildFinished); }
/// <summary> /// When overridden in a derived class, subscribes the logger to specific events. /// </summary> /// <param name="eventSource">The available events that a logger can subscribe to.</param> public override void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { eventSource.MessageRaised += eventSource_MessageRaised; }
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { _eventSource = eventSource; _eventSource.ErrorRaised += EventSource_ErrorRaised; //_eventSource.WarningRaised += EventSource_WarningRaised; }
public override void Initialize(Microsoft.Build.Framework.IEventSource eventSource) { eventSource.ErrorRaised += OnError; eventSource.WarningRaised += OnWarning; }
public void Initialize(MSB.Framework.IEventSource eventSource) { _eventSource = eventSource; _eventSource.ErrorRaised += OnErrorRaised; }