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