/// <summary> /// Creates a new <see cref="NestedProjectsGlobalSection"/> with the <see cref="NestedProjectsGlobalSection.GlobalSectionName"/> and <see cref="PreOrPostSolution.PreSolution"/>. /// </summary> public static NestedProjectsGlobalSection New() { var output = new NestedProjectsGlobalSection { Name = NestedProjectsGlobalSection.GlobalSectionName, PreOrPostSolution = PreOrPostSolution.PreSolution, }; return(output); }
public static bool HasNestedProjectsGlobalSection(this IEnumerable <ISolutionFileGlobalSection> globalSections, out NestedProjectsGlobalSection nestedProjectsSolutionFileGlobalSection) { var output = globalSections.HasGlobalSectionByName(NestedProjectsGlobalSection.GlobalSectionName, out nestedProjectsSolutionFileGlobalSection); return(output); }