public PackageInitializationScripts( ISolutionPackageRepository solutionPackageRepository, IPackageScriptFactory scriptFactory) { this.solutionPackageRepository = solutionPackageRepository; this.scriptFactory = scriptFactory; }
void CreateAction() { scriptRunner = MockRepository.GenerateStub <IPackageScriptRunner>(); scriptFactory = MockRepository.GenerateStub <IPackageScriptFactory>(); msbuildProjectCollection = MockRepository.GenerateStub <IGlobalMSBuildProjectCollection>(); action = new RunAllProjectPackageScriptsAction( scriptRunner, projects, scriptFactory, msbuildProjectCollection); }
void CreateAction() { scriptRunner = MockRepository.GenerateStub<IPackageScriptRunner>(); scriptFactory = MockRepository.GenerateStub<IPackageScriptFactory>(); msbuildProjectCollection = MockRepository.GenerateStub<IGlobalMSBuildProjectCollection>(); action = new RunAllProjectPackageScriptsAction( scriptRunner, projects, scriptFactory, msbuildProjectCollection); }
public RunPackageScriptsAction( IPackageManagementProject project, IPackageScriptRunner scriptRunner, IPackageScriptFactory scriptFactory) { this.project = project; this.scriptRunner = scriptRunner; this.scriptFactory = scriptFactory; RegisterEvents(); }
public RunAllProjectPackageScriptsAction( IPackageScriptRunner scriptRunner, IEnumerable<IPackageManagementProject> projects, IPackageScriptFactory scriptFactory, IGlobalMSBuildProjectCollection projectCollection) { this.scriptRunner = scriptRunner; this.projects = projects.ToList(); this.scriptFactory = scriptFactory; this.projectCollection = projectCollection; AddProjectsToGlobalCollection(); RegisterEvents(); }
public RunPackageScriptsAction( IPackageManagementProject project, IPackageScriptRunner scriptRunner, IPackageScriptFactory scriptFactory, IGlobalMSBuildProjectCollection projectCollection) { this.project = project; this.scriptRunner = scriptRunner; this.scriptFactory = scriptFactory; this.projectCollection = projectCollection; projectCollection.AddProject(project); RegisterEvents(); }
public RunAllProjectPackageScriptsAction( IPackageScriptRunner scriptRunner, IEnumerable <IPackageManagementProject> projects, IPackageScriptFactory scriptFactory, IGlobalMSBuildProjectCollection projectCollection) { this.scriptRunner = scriptRunner; this.projects = projects.ToList(); this.scriptFactory = scriptFactory; this.projectCollection = projectCollection; AddProjectsToGlobalCollection(); RegisterEvents(); }
void CreateScripts(IPackageScriptFactory scriptFactory) { fakeSolutionPackageRepository = new FakeSolutionPackageRepository(); fakeSession = new FakePackageScriptSession(); scripts = new PackageInitializationScripts(fakeSolutionPackageRepository, scriptFactory); }