Inheritance: WorkItemQueryChildModel
        private void NewQueryFolder(WorkItemQueryFolderModel workItemQueryFolderModel)
        {
            QueryFolder queryFolder;
            QueryFolder parentFolder = workItemQueryFolderModel.QueryFolder;

            if (teamPilgrimServiceModelProvider.TryAddNewQueryFolder(out queryFolder, _projectCollection, _project, parentFolder.Id))
            {
                workItemQueryFolderModel.QueryItems.Insert(0, new WorkItemQueryFolderModel(this, _project, workItemQueryFolderModel.Depth + 1, queryFolder, new WorkItemQueryChildModel[0], null));
            }
        }
        private void NewQueryDefinition(WorkItemQueryFolderModel workItemQueryDefinitionModel)
        {
            QueryFolder queryFolder = null;

            if (workItemQueryDefinitionModel != null)
            {
                queryFolder = workItemQueryDefinitionModel.QueryFolder;
            }

            teamPilgrimVsService.NewQueryDefinition(_project, queryFolder);
        }
 private void NewQueryFolder(WorkItemQueryFolderModel workItemQueryFolderModel)
 {
     QueryFolder queryFolder;
     QueryFolder parentFolder = workItemQueryFolderModel.QueryFolder;
     if (teamPilgrimServiceModelProvider.TryAddNewQueryFolder(out queryFolder, _projectCollection, _project, parentFolder.Id))
     {
         workItemQueryFolderModel.QueryItems.Insert(0, new WorkItemQueryFolderModel(this, _project, workItemQueryFolderModel.Depth + 1, queryFolder, new WorkItemQueryChildModel[0], null));
     }
 }
        private void NewQueryDefinition(WorkItemQueryFolderModel workItemQueryDefinitionModel)
        {
            QueryFolder queryFolder = null;
            if (workItemQueryDefinitionModel != null)
            {
                queryFolder = workItemQueryDefinitionModel.QueryFolder;
            }

            teamPilgrimVsService.NewQueryDefinition(_project, queryFolder);
        }
 private bool CanNewQueryFolder(WorkItemQueryFolderModel workItemQueryDefinitionModel)
 {
     return true;
 }
 private bool CanNewQueryDefinition(WorkItemQueryFolderModel workItemQueryDefinitionModel)
 {
     return(true);
 }