Exemplo n.º 1
0
        public TeamPilgrimPackage()
        {
            this.Logger().Debug("Start Constructor");

            Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering constructor for: {0}", this.ToString()));

            TeamPilgrimSettings = new TeamPilgrimSettings();

            //http://blogs.msdn.com/b/vsxteam/archive/2008/06/09/dr-ex-why-does-getservice-typeof-envdte-dte-return-null.aspx
            var shellService = GetGlobalService(typeof(SVsShell)) as IVsShell;

            if (shellService != null)
            {
                ErrorHandler.ThrowOnFailure(shellService.AdviseShellPropertyChanges(this, out _shellPropertyChangeCookie));
            }

            //NOTE: Only enable this when you are looking to debug a particular issue
            //Certain Visual Studio dialogs like the "Work Item Query" can be expected to throw binding errors
            //BindingErrorTraceListener.SetTrace();

            this.Logger().Debug("End Constructor");
        }
 internal PreviouslySelectedWorkItemsQueriesCollection(TeamPilgrimSettings teamPilgrimSettings)
 {
     _teamPilgrimSettings = teamPilgrimSettings;
 }
Exemplo n.º 3
0
 internal PreviouslySelectedWorkItemsQueriesCollection(TeamPilgrimSettings teamPilgrimSettings)
 {
     _teamPilgrimSettings = teamPilgrimSettings;
 }