public static ProjectSection GetProjectSection(this ItemTypePredefined itemTypePredefined)
        {
            if (itemTypePredefined.IsRegularArtifactType())
            {
                return(ProjectSection.Artifacts);
            }
            if (itemTypePredefined.IsBaselinesAndReviewsGroupType())
            {
                return(ProjectSection.BaselinesAndReviews);
            }
            if (itemTypePredefined.IsCollectionsGroupType())
            {
                return(ProjectSection.Collections);
            }

            return(ProjectSection.Unknown);
        }
 public static bool IsWorkflowSupportedForArtifactType(ItemTypePredefined baseArtifactTypePredefined)
 {
     return(baseArtifactTypePredefined.IsRegularArtifactType());
 }
 private bool isInvalidSemanticSearchArtifactType(ItemTypePredefined itemTypePredefined)
 {
     return(!itemTypePredefined.IsRegularArtifactType() || itemTypePredefined.IsProjectOrFolderArtifactType() ||
            itemTypePredefined.IsSubArtifactType());
 }