private void AddQuery(ExcelQueryProperty p)
 {
     TraceLog.WriteLine(new StackFrame().GetMethod().Name, string.Format(CultureInfo.InstalledUICulture, "Adding query: Name = {0}, Value = {1}", p.Name, p.Value));
     _ribbonModel.QueriesForSheet(p.Sheet)
         .AddQuery(p.ExtractProject(_ribbonModel.Projects), p.Value, p.QueryName);
 }
 private void AddQuery(ExcelQueryProperty p)
 {
     TraceLog.WriteLine(new StackFrame().GetMethod().Name, string.Format(CultureInfo.InstalledUICulture, "Adding query: Name = {0}, Value = {1}", p.Name, p.Value));
     _ribbonModel.QueriesForSheet(p.Sheet)
     .AddQuery(p.ExtractProject(_ribbonModel.Projects), p.Value, p.QueryName);
 }