/// <summary> /// Creates a new <see cref="SolutionPropertiesGlobalSection"/> with the <see cref="SolutionPropertiesGlobalSection.GlobalSectionName"/> and <see cref="PreOrPostSolution.PreSolution"/>. /// </summary> public static SolutionPropertiesGlobalSection New() { var output = new SolutionPropertiesGlobalSection { Name = SolutionPropertiesGlobalSection.GlobalSectionName, PreOrPostSolution = PreOrPostSolution.PreSolution, }; return(output); }
public static SolutionPropertiesGlobalSection CreateSolutionPropertiesGlobalSection() { var solutionProperties = new SolutionPropertiesGlobalSection { Name = SolutionPropertiesGlobalSection.GlobalSectionName, PreOrPostSolution = PreOrPostSolution.PreSolution, }; solutionProperties.HideSolutionNode = false; return(solutionProperties); }
public static bool HasSolutionPropertiesGlobalSection(this IEnumerable <ISolutionFileGlobalSection> globalSections, out SolutionPropertiesGlobalSection solutionPropertiesGlobalSection) { var output = globalSections.HasGlobalSectionByName(SolutionPropertiesGlobalSection.GlobalSectionName, out solutionPropertiesGlobalSection); return(output); }