private Settings.TitleBarFormat TitleBarFormatRightNow(Settings.SettingsTriplet st)
 {
     if (DTE.Solution.IsOpen)
     {
         return(st.FormatIfSolutionOpened);
     }
     else if (DTE.Documents.Count > 0)
     {
         return(st.FormatIfDocumentOpened);
     }
     else
     {
         return(st.FormatIfNothingOpened);
     }
 }
 private bool TripletDependenciesAreSatisfied(Settings.SettingsTriplet triplet)
 {
     return(triplet.PatternDependencies.All(d => Resolvers.Any(r => r.SatisfiesDependency(d))));
 }