Example #1
0
        public static ExtensibilityGlobalsGlobalSection AcquireExtensibilityGlobalsGlobalSection(this List <ISolutionFileGlobalSection> globalSections)
        {
            var extensibilityGlobalsGlobalSection = globalSections.AcquireGlobalSectionByName(ExtensibilityGlobalsGlobalSection.GlobalSectionName, ExtensibilityGlobalsGlobalSection.New);

            return(extensibilityGlobalsGlobalSection);
        }
Example #2
0
        public static GenericSolutionFileGlobalSection AcquireGenericGlobalSection(this List <ISolutionFileGlobalSection> globalSections, string globalSectionName, PreOrPostSolution preOrPostSolution)
        {
            var globalSection = globalSections.AcquireGlobalSectionByName(globalSectionName, () => GenericSolutionFileGlobalSection.New(globalSectionName, preOrPostSolution));

            return(globalSection);
        }
Example #3
0
        public static SolutionPropertiesGlobalSection AcquireSolutionPropertiesGlobalSection(this List <ISolutionFileGlobalSection> globalSections)
        {
            var solutionPropertiesGlobalSection = globalSections.AcquireGlobalSectionByName(SolutionPropertiesGlobalSection.GlobalSectionName, SolutionPropertiesGlobalSection.New);

            return(solutionPropertiesGlobalSection);
        }
Example #4
0
        public static SolutionConfigurationPlatformsGlobalSection AcquireSolutionConfigurationPlatformsGlobalSection(this List <ISolutionFileGlobalSection> globalSections, Func <SolutionConfigurationPlatformsGlobalSection> constructor)
        {
            var solutionConfigurationPlatformsGlobalSection = globalSections.AcquireGlobalSectionByName(SolutionConfigurationPlatformsGlobalSection.GlobalSectionName, constructor);

            return(solutionConfigurationPlatformsGlobalSection);
        }
Example #5
0
        public static ProjectConfigurationPlatformsGlobalSection AcquireProjectConfigurationPlatformsGlobalSection(this List <ISolutionFileGlobalSection> globalSections)
        {
            var projectConfigurationPlatformsGlobalSection = globalSections.AcquireGlobalSectionByName(ProjectConfigurationPlatformsGlobalSection.GlobalSectionName, ProjectConfigurationPlatformsGlobalSection.New);

            return(projectConfigurationPlatformsGlobalSection);
        }
Example #6
0
        public static NestedProjectsGlobalSection AcquireNestedProjectsGlobalSection(this List <ISolutionFileGlobalSection> globalSections)
        {
            var nestedProjectsGlobalSection = globalSections.AcquireGlobalSectionByName(NestedProjectsGlobalSection.GlobalSectionName, NestedProjectsGlobalSection.New);

            return(nestedProjectsGlobalSection);
        }
        public static SolutionConfigurationPlatformsGlobalSection AcquireSolutionConfigurationPlatformsGlobalSection(this List <ISolutionFileGlobalSection> globalSections)
        {
            var solutionConfigurationPlatformsGlobalSection = globalSections.AcquireGlobalSectionByName(SolutionConfigurationPlatformsGlobalSection.SolutionFileGlobalSectionName, SolutionConfigurationPlatformsGlobalSection.New);

            return(solutionConfigurationPlatformsGlobalSection);
        }