public TestableUninstallNuGetPackageAction ( FakeSolutionManager solutionManager, FakeDotNetProject project) : this ( solutionManager, project, new FakeNuGetProjectContext (), new FakeNuGetPackageManager (), new PackageManagementEvents ()) { }
public TestableUpdateAllNuGetPackagesInProjectAction ( FakeSolutionManager solutionManager, FakeDotNetProject project) : this ( solutionManager, project, new FakeNuGetProjectContext (), new FakeNuGetPackageManager (), new FakePackageRestoreManager (), new PackageManagementEvents ()) { }
public TestableUninstallNuGetPackageAction ( FakeSolutionManager solutionManager, FakeDotNetProject dotNetProject, FakeNuGetProjectContext projectContext, FakeNuGetPackageManager packageManager, PackageManagementEvents packageManagementEvents) : base ( solutionManager, dotNetProject, projectContext, packageManager, packageManagementEvents) { ProjectContext = projectContext; PackageManager = packageManager; PackageManagementEvents = packageManagementEvents; }
public TestableUpdateAllNuGetPackagesInProjectAction ( FakeSolutionManager solutionManager, FakeDotNetProject dotNetProject, FakeNuGetProjectContext projectContext, FakeNuGetPackageManager packageManager, FakePackageRestoreManager restoreManager, PackageManagementEvents packageManagementEvents) : base ( solutionManager, dotNetProject, projectContext, packageManager, restoreManager, packageManagementEvents) { ProjectContext = projectContext; PackageManager = packageManager; RestoreManager = restoreManager; PackageManagementEvents = packageManagementEvents; }
void CreateNode() { updatedPackagesInSolution = new FakeUpdatedPackagesInSolution(); project = new FakeDotNetProject(); packagesFolderNode = new TestableProjectPackagesFolderNode(project, updatedPackagesInSolution); }
void CreateProject(string frameworkVersion) { project = new FakeDotNetProject(); project.TargetFrameworkMoniker = new TargetFrameworkMoniker(frameworkVersion); }
void RaiseProjectReloadedEvent(FakeDotNetProject oldProject, FakeDotNetProject newProject) { projectService.RaiseProjectReloadedEvent(oldProject, newProject); }
FakeNuGetProject AddNuGetProjectToSolution() { dotNetProject = new FakeDotNetProject(); solution.Projects.Add(dotNetProject); return(taskRunner.AddNuGetProject(dotNetProject)); }
void CreateTestProject(string fileName) { project = new FakeDotNetProject(fileName); }
void CreateTestWebSiteProject() { project = ProjectHelper.CreateTestWebSiteProject(); }
void CreateTestWebApplicationProject() { project = ProjectHelper.CreateTestWebApplicationProject(); }
void CreateTestProject() { project = new FakeDotNetProject(); }
void CreateProject(string fileName = @"d:\projects\MyProject\MyProject.csproj") { fileName = fileName.ToNativePath(); project = new FakeDotNetProject(fileName); project.SaveAction = SaveProject; }
void AddProjectToSolution() { FakeDotNetProject project = ProjectHelper.CreateTestProject(); fakeSolution.FakeDotNetProjects.Add(project); }
void CreateProject() { project = new FakeDotNetProject(@"d:\projects\MyProject\MyProject.csproj".ToNativePath()); nugetProject = new FakeNuGetProject(project); }