/// <summary> /// Initializes a new instance of the <see cref="BuildEventListener"/> class. /// </summary> /// <param name="package">The package hosting the event listener.</param> internal BuildEventListener(BuildProgressPackage package) : base(package) { // Store access to the build events, otherwise events will not register properly via DTE. BuildEvents = Package.IDE.Events.BuildEvents; BuildEvents.OnBuildBegin += BuildEvents_OnBuildBegin; BuildEvents.OnBuildProjConfigBegin += BuildEvents_OnBuildProjConfigBegin; BuildEvents.OnBuildProjConfigDone += BuildEvents_OnBuildProjConfigDone; BuildEvents.OnBuildDone += BuildEvents_OnBuildDone; }
public SolutionEventListener(BuildProgressPackage package) : base(package) { SolutionEvents = package.IDE.Events.SolutionEvents; SolutionEvents.AfterClosing += SolutionEvents_AfterClosing; }
public BuildProgress(BuildProgressPackage package) { Package = package; }
/// <summary> /// Initializes a new instance of the <see cref="BaseEventListener"/> class. /// </summary> /// <param name="package">The package hosting the event listener.</param> protected BaseEventListener(BuildProgressPackage package) { Package = package; }