public PropertiesSection(Suite suite, IProjectGuidManagement projectGuidManagement, [TargetRoot] IFileSystemDirectory targetDir, IProjectPlatformManagement platformManagement) : base(suite) { this.projectGuidManagement = projectGuidManagement; this.targetDir = targetDir; this.platformManagement = platformManagement; }
/// <summary> /// Creates the builder /// </summary> /// <param name="projectGuidManagement">The project-guid mapper to use</param> /// <param name="projectPlatformManagement">Interface for getting default project configuration names</param> /// <param name="supportedSlnProjects">Supported project types</param> /// <param name="projects">The projects to be included to the solution</param> /// <param name="suiteRoot">Suite's root directory </param> /// <param name="targetDir">The target directory where the sln file should be put</param> /// <param name="slnNameGenerator">Name generator implementation for the sln file </param> /// <param name="inSolutionReferenceBuilderFactory">Interface to create new in-solution reference builder instances</param> /// <param name="solutionItemProviders">List of registered solution item providers</param> public SlnBuilder(IProjectGuidManagement projectGuidManagement, IProjectPlatformManagement projectPlatformManagement, IEnumerable <ISlnProject> supportedSlnProjects, IEnumerable <Project> projects, [SuiteRoot] IFileSystemDirectory suiteRoot, [TargetRoot] IFileSystemDirectory targetDir, ISlnNameGenerator slnNameGenerator, IInSolutionReferenceBuilderFactory inSolutionReferenceBuilderFactory, IEnumerable <ISolutionItemProvider> solutionItemProviders) { Contract.Requires(projectGuidManagement != null); Contract.Requires(projectPlatformManagement != null); Contract.Requires(supportedSlnProjects != null); Contract.Requires(projects != null); Contract.Requires(targetDir != null); Contract.Requires(suiteRoot != null); Contract.Requires(slnNameGenerator != null); Contract.Requires(inSolutionReferenceBuilderFactory != null); Contract.Requires(solutionItemProviders != null); this.projectGuidManagement = projectGuidManagement; this.supportedSlnProjects = supportedSlnProjects; this.suiteRoot = suiteRoot; this.projects = projects.ToList(); this.targetDir = targetDir; this.slnNameGenerator = slnNameGenerator; this.inSolutionReferenceBuilderFactory = inSolutionReferenceBuilderFactory; this.solutionItemProviders = solutionItemProviders; this.projectPlatformManagement = projectPlatformManagement; }
/// <summary> /// Initializes the solution file generator /// </summary> /// <param name="projectGuidManagement">Project guid mapping to be used</param> /// <param name="projectPlatformManagement">For getting project's default platform name</param> /// <param name="supportedSlnProjects">All the supported SLN project implementations</param> /// <param name="projects">The set of projects to be added to the solution</param> /// <param name="output">Text writer to write the solution file</param> /// <param name="suiteRoot">Suite's root directory </param> /// <param name="slnDir">Directory where the sln is being generated </param> /// <param name="getProjectSolutionReferences">Function which returns all the referenced projects which are in the same solution</param> /// <param name="solutionItemProviders">List of registered solution item providers</param> /// <param name="slnName">Solution's unique name</param> public SlnGenerator(IProjectGuidManagement projectGuidManagement, IProjectPlatformManagement projectPlatformManagement, IEnumerable<ISlnProject> supportedSlnProjects, IEnumerable<Project> projects, TextWriter output, IFileSystemDirectory suiteRoot, IFileSystemDirectory slnDir, Func<Project, IEnumerable<Project>> getProjectSolutionReferences, IEnumerable<ISolutionItemProvider> solutionItemProviders, string slnName) { Contract.Requires(projectGuidManagement != null); Contract.Requires(projectPlatformManagement != null); Contract.Requires(projects != null); Contract.Requires(output != null); Contract.Requires(suiteRoot != null); Contract.Requires(slnDir != null); Contract.Requires(getProjectSolutionReferences != null); Contract.Requires(supportedSlnProjects != null); Contract.Requires(solutionItemProviders != null); this.projectGuidManagement = projectGuidManagement; this.projectPlatformManagement = projectPlatformManagement; this.projects = projects.ToList(); this.output = output; this.suiteRoot = suiteRoot; this.slnDir = slnDir; this.getProjectSolutionReferences = getProjectSolutionReferences; this.solutionItemProviders = solutionItemProviders; this.slnName = slnName; this.supportedSlnProjects = supportedSlnProjects; }
/// <summary> /// Initializes the solution file generator /// </summary> /// <param name="projectGuidManagement">Project guid mapping to be used</param> /// <param name="projectPlatformManagement">For getting project's default platform name</param> /// <param name="supportedSlnProjects">All the supported SLN project implementations</param> /// <param name="projects">The set of projects to be added to the solution</param> /// <param name="output">Text writer to write the solution file</param> /// <param name="suiteRoot">Suite's root directory </param> /// <param name="slnDir">Directory where the sln is being generated </param> /// <param name="getProjectSolutionReferences">Function which returns all the referenced projects which are in the same solution</param> /// <param name="solutionItemProviders">List of registered solution item providers</param> /// <param name="slnName">Solution's unique name</param> public SlnGenerator(IProjectGuidManagement projectGuidManagement, IProjectPlatformManagement projectPlatformManagement, IEnumerable <ISlnProject> supportedSlnProjects, IEnumerable <Project> projects, TextWriter output, IFileSystemDirectory suiteRoot, IFileSystemDirectory slnDir, Func <Project, IEnumerable <Project> > getProjectSolutionReferences, IEnumerable <ISolutionItemProvider> solutionItemProviders, string slnName) { Contract.Requires(projectGuidManagement != null); Contract.Requires(projectPlatformManagement != null); Contract.Requires(projects != null); Contract.Requires(output != null); Contract.Requires(suiteRoot != null); Contract.Requires(slnDir != null); Contract.Requires(getProjectSolutionReferences != null); Contract.Requires(supportedSlnProjects != null); Contract.Requires(solutionItemProviders != null); this.projectGuidManagement = projectGuidManagement; this.projectPlatformManagement = projectPlatformManagement; this.projects = projects.ToList(); this.output = output; this.suiteRoot = suiteRoot; this.slnDir = slnDir; this.getProjectSolutionReferences = getProjectSolutionReferences; this.solutionItemProviders = solutionItemProviders; this.slnName = slnName; this.supportedSlnProjects = supportedSlnProjects; }
public SourceItemsSection(Suite suite, IProjectPlatformManagement platformManagement) : base(suite) { this.platformManagement = platformManagement; suiteRoot = suite.SuiteRoot; }
public CppProjectPlatformManagement(IProjectPlatformManagement baseImpl) { this.baseImpl = baseImpl; }