예제 #1
0
 /// <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;
 }
예제 #2
0
 public SolutionEventListener(BuildProgressPackage package)
     : base(package)
 {
     SolutionEvents = package.IDE.Events.SolutionEvents;
     SolutionEvents.AfterClosing += SolutionEvents_AfterClosing;
 }
 public BuildProgress(BuildProgressPackage package)
 {
     Package = package;
 }
예제 #4
0
 /// <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;
 }