public static ExtensibilityGlobalsGlobalSection AcquireExtensibilityGlobalsGlobalSection(this List <ISolutionFileGlobalSection> globalSections) { var extensibilityGlobalsGlobalSection = globalSections.AcquireGlobalSectionByName(ExtensibilityGlobalsGlobalSection.GlobalSectionName, ExtensibilityGlobalsGlobalSection.New); return(extensibilityGlobalsGlobalSection); }
public static GenericSolutionFileGlobalSection AcquireGenericGlobalSection(this List <ISolutionFileGlobalSection> globalSections, string globalSectionName, PreOrPostSolution preOrPostSolution) { var globalSection = globalSections.AcquireGlobalSectionByName(globalSectionName, () => GenericSolutionFileGlobalSection.New(globalSectionName, preOrPostSolution)); return(globalSection); }
public static SolutionPropertiesGlobalSection AcquireSolutionPropertiesGlobalSection(this List <ISolutionFileGlobalSection> globalSections) { var solutionPropertiesGlobalSection = globalSections.AcquireGlobalSectionByName(SolutionPropertiesGlobalSection.GlobalSectionName, SolutionPropertiesGlobalSection.New); return(solutionPropertiesGlobalSection); }
public static SolutionConfigurationPlatformsGlobalSection AcquireSolutionConfigurationPlatformsGlobalSection(this List <ISolutionFileGlobalSection> globalSections, Func <SolutionConfigurationPlatformsGlobalSection> constructor) { var solutionConfigurationPlatformsGlobalSection = globalSections.AcquireGlobalSectionByName(SolutionConfigurationPlatformsGlobalSection.GlobalSectionName, constructor); return(solutionConfigurationPlatformsGlobalSection); }
public static ProjectConfigurationPlatformsGlobalSection AcquireProjectConfigurationPlatformsGlobalSection(this List <ISolutionFileGlobalSection> globalSections) { var projectConfigurationPlatformsGlobalSection = globalSections.AcquireGlobalSectionByName(ProjectConfigurationPlatformsGlobalSection.GlobalSectionName, ProjectConfigurationPlatformsGlobalSection.New); return(projectConfigurationPlatformsGlobalSection); }
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); }