public DTE( IPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.projectService = projectService; this.fileService = fileService; ItemOperations = new ItemOperations(fileService); }
public DTE( IPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.projectService = projectService; this.fileService = fileService; ItemOperations = new ItemOperations(fileService); }
internal DTE( IExtendedPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.projectService = projectService; this.fileService = fileService; ItemOperations = new ItemOperations(); }
public SharpDevelopProjectSystem( MSBuildBasedProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService) : base(AppendTrailingSlashToDirectory(project.Directory)) { this.project = project; this.fileService = fileService; this.projectService = projectService; }
public SharpDevelopProjectSystem( MSBuildBasedProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService) : base(AppendTrailingSlashToDirectory(project.Directory)) { this.project = project; this.fileService = fileService; this.projectService = projectService; }
public OpenPackageReadMeMonitor( string packageId, IPackageManagementProject project, IPackageManagementFileService fileService) { PackageId = packageId; this.project = project; this.fileService = fileService; project.PackageInstalled += PackageInstalled; }
public OpenPackageReadMeMonitor ( string packageId, IPackageManagementProject project, IPackageManagementFileService fileService) { PackageId = packageId; this.project = project; this.fileService = fileService; project.PackageInstalled += PackageInstalled; }
TestableSharpDevelopProjectSystem( MSBuildBasedProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService, FakeLogger logger) : base(project, fileService, projectService) { FakeFileService = (FakeFileService)fileService; FakeProjectService = (FakePackageManagementProjectService)projectService; Logger = logger; }
public SharpDevelopProjectSystem( IDotNetProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService, Action <MessageHandler> guiSyncDispatcher) : base(AppendTrailingSlashToDirectory(project.BaseDirectory)) { this.project = project; this.fileService = fileService; this.guiSyncDispatcher = guiSyncDispatcher; }
TestableMonoDevelopProjectSystem ( IDotNetProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService, FakeLogger logger) : base (project, fileService, projectService, GuiSyncDispatcher) { FakeFileService = (FakeFileService)fileService; FakeProjectService = (FakePackageManagementProjectService)projectService; Logger = logger; }
TestableMonoDevelopProjectSystem( IDotNetProject project, FakeNuGetProjectContext context, IPackageManagementFileService fileService, PackageManagementEvents packageManagementEvents) : base(project, context, fileService, packageManagementEvents, GuiSyncDispatcher, GuiSyncDispatcherFunc) { FakeNuGetProjectContext = context; FakeFileService = (FakeFileService)fileService; PackageManagementEvents = packageManagementEvents; }
TestableSharpDevelopProjectSystem( MSBuildBasedProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService, FakeLogger logger) : base(project, fileService, projectService) { FakeFileService = (FakeFileService)fileService; FakeProjectService = (FakePackageManagementProjectService)projectService; Logger = logger; }
TestableMonoDevelopProjectSystem ( IDotNetProject project, FakeNuGetProjectContext context, IPackageManagementFileService fileService, PackageManagementEvents packageManagementEvents) : base (project, context, fileService, packageManagementEvents, GuiSyncDispatcher, GuiSyncDispatcherFunc) { FakeNuGetProjectContext = context; FakeFileService = (FakeFileService)fileService; PackageManagementEvents = packageManagementEvents; }
TestableMonoDevelopProjectSystem( IDotNetProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService, FakeLogger logger) : base(project, fileService, projectService, GuiSyncDispatcher) { FakeFileService = (FakeFileService)fileService; FakeProjectService = (FakePackageManagementProjectService)projectService; Logger = logger; }
void CreateProject() { msbuildProject = ProjectHelper.CreateTestProject(); helper = new ProjectContentHelper(); fakeProjectService = MockRepository.GenerateStub <IPackageManagementProjectService>(); fakeProjectService.Stub(service => service.GetProjectContent(msbuildProject)).Return(helper.ProjectContent); fakeFileService = MockRepository.GenerateStub <IPackageManagementFileService>(); project = new Project(msbuildProject, fakeProjectService, fakeFileService); }
void CreateProject() { msbuildProject = ProjectHelper.CreateTestProject(); helper = new ProjectContentHelper(); fakeProjectService = MockRepository.GenerateStub<IPackageManagementProjectService>(); fakeProjectService.Stub(service => service.GetProjectContent(msbuildProject)).Return(helper.ProjectContent); fakeFileService = MockRepository.GenerateStub<IPackageManagementFileService>(); project = new Project(msbuildProject, fakeProjectService, fakeFileService); }
void CreateProject(string fileName = @"d:\projects\MyProject\MyProject.csproj", string language = "C#") { msbuildProject = ProjectHelper.CreateTestProject(); msbuildProject.FileName = new FileName(fileName); //helper = new ProjectContentHelper(); fakeProjectService = MockRepository.GenerateStub<IPackageManagementProjectService>(); //fakeProjectService.Stub(service => service.GetProjectContent(msbuildProject)).Return(helper.ProjectContent); fakeFileService = MockRepository.GenerateStub<IPackageManagementFileService>(); project = new Project(msbuildProject, fakeProjectService, fakeFileService); }
public Project ( DotNetProject project, IExtendedPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.DotNetProject = project; this.projectService = projectService; this.fileService = fileService; CreateProperties (); Object = new ProjectObject (this); ProjectItems = new ProjectItems (this, this, fileService); }
public Project( MSBuildBasedProject project, IPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.MSBuildProject = project; this.projectService = projectService; this.fileService = fileService; CreateProperties(); Object = new ProjectObject(this); ProjectItems = new ProjectItems(this, this, fileService); }
internal Project( DotNetProject project, IExtendedPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.DotNetProject = project; this.projectService = projectService; this.fileService = fileService; CreateProperties(); Object = new ProjectObject(this); ProjectItems = new ProjectItems(this, this, fileService); }
public Project( MSBuildBasedProject project, IPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.MSBuildProject = project; this.projectService = projectService; this.fileService = fileService; CreateProperties(); Object = new ProjectObject(this); ProjectItems = new ProjectItems(this, fileService); }
public MonoDevelopProjectSystem( IDotNetProject project, IPackageManagementFileService fileService, IPackageManagementProjectService projectService, IPackageManagementEvents packageManagementEvents, Action <MessageHandler> guiSyncDispatcher, Func <Func <Task>, Task> guiSyncDispatcherFunc) : base(AppendTrailingSlashToDirectory(project.BaseDirectory)) { this.project = project; this.fileService = fileService; this.packageManagementEvents = packageManagementEvents; this.guiSyncDispatcher = guiSyncDispatcher; this.guiSyncDispatcherFunc = guiSyncDispatcherFunc; }
public MonoDevelopMSBuildNuGetProjectSystem( IDotNetProject project, INuGetProjectContext context, IPackageManagementFileService fileService, IPackageManagementEvents packageManagementEvents, Action <Action> guiSyncDispatcher, Func <Func <Task>, Task> guiSyncDispatcherFunc) { this.project = project; NuGetProjectContext = context; this.fileService = fileService; this.packageManagementEvents = packageManagementEvents; this.guiSyncDispatcher = guiSyncDispatcher; this.guiSyncDispatcherFunc = guiSyncDispatcherFunc; }
public ConsoleHostMSBuildNuGetProjectSystem( IDotNetProject project, INuGetProjectContext context, IPackageManagementFileService fileService, IPackageManagementEvents packageManagementEvents, Action <Action> guiSyncDispatcher, Func <Func <Task>, Task> guiSyncDispatcherFunc, Func <Func <Task <bool> >, Task <bool> > guiSyncDispatcherFuncReturnBool) { this.project = project; NuGetProjectContext = context; this.fileService = fileService; this.packageManagementEvents = packageManagementEvents; this.guiSyncDispatcher = guiSyncDispatcher; this.guiSyncDispatcherFunc = guiSyncDispatcherFunc; this.guiSyncDispatcherFuncReturnBool = guiSyncDispatcherFuncReturnBool; }
public Project( MSBuildBasedProject project, IPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.MSBuildProject = project; this.projectService = projectService; this.fileService = fileService; context = new CodeModelContext { CurrentProject = project, DteProject = this }; CreateProperties(); Object = new ProjectObject(this); ProjectItems = new ProjectItems(this, this); }
protected void CreateCodeModel() { msbuildProject = ProjectHelper.CreateTestProject(); projectService = MockRepository.GenerateStub<IPackageManagementProjectService>(); fileService = MockRepository.GenerateStub<IPackageManagementFileService>(); dteProject = new Project(msbuildProject, projectService, fileService); codeModelContext.DteProject = dteProject; codeModel = new CodeModel(codeModelContext, dteProject); msbuildProject.SetAssemblyModel(assemblyModel); project.Stub(p => p.AssemblyModel).Return(assemblyModel); fileService .Stub(fs => fs.GetCompilationUnit(msbuildProject)) .WhenCalled(compilation => compilation.ReturnValue = CreateCompilation()); }
protected void CreateCodeModel() { msbuildProject = ProjectHelper.CreateTestProject(); projectService = MockRepository.GenerateStub <IPackageManagementProjectService>(); fileService = MockRepository.GenerateStub <IPackageManagementFileService>(); dteProject = new Project(msbuildProject, projectService, fileService); codeModelContext.DteProject = dteProject; codeModel = new CodeModel(codeModelContext, dteProject); msbuildProject.SetAssemblyModel(assemblyModel); project.Stub(p => p.AssemblyModel).Return(assemblyModel); fileService .Stub(fs => fs.GetCompilationUnit(msbuildProject)) .WhenCalled(compilation => compilation.ReturnValue = CreateCompilation()); }
public Project( MSBuildBasedProject project, IPackageManagementProjectService projectService, IPackageManagementFileService fileService) { this.MSBuildProject = project; this.projectService = projectService; this.fileService = fileService; context = new CodeModelContext { CurrentProject = project, DteProject = this }; CreateProperties(); Object = new ProjectObject(this); ProjectItems = new ProjectItems(this, this); }
public FileProjectItems(ProjectItem projectItem) : base((Project)projectItem.ContainingProject, projectItem) { this.projectItem = projectItem; this.fileService = Project.FileService; }
public ItemOperations(IPackageManagementFileService fileService) { this.fileService = fileService; }
public ProjectItemsInsideProject (Project project, IPackageManagementFileService fileService) { this.project = project; this.fileService = fileService; }
public ItemOperations(IPackageManagementFileService fileService) { this.fileService = fileService; }
public ProjectItems (Project project, object parent, IPackageManagementFileService fileService) { this.Project = project; this.fileService = fileService; this.parent = parent; }
public ProjectItemsInsideProject(Project project, IPackageManagementFileService fileService) { this.project = project; this.fileService = fileService; }
public FileProjectItems (ProjectItem projectItem) : base ((Project)projectItem.ContainingProject, projectItem) { this.projectItem = projectItem; this.fileService = Project.FileService; }
TestableSharpDevelopProjectSystem(MSBuildBasedProject project, IPackageManagementFileService fileService) : base(project, fileService) { FakeFileService = (FakeFileService)fileService; Logger = FakeOutputMessagesView; }
public FileProjectItems(ProjectItem projectItem, IPackageManagementFileService fileService) : base((Project)projectItem.ContainingProject, projectItem, fileService) { this.projectItem = projectItem; this.fileService = fileService; }
TestableSharpDevelopProjectSystem(MSBuildBasedProject project, IPackageManagementFileService fileService) : base(project, fileService) { FakeFileService = (FakeFileService)fileService; Logger = FakeOutputMessagesView; }
ProjectItems(Project project, object parent, IPackageManagementFileService fileService) { this.Project = project; this.fileService = fileService; this.parent = parent; }
public FileProjectItems(ProjectItem projectItem, IPackageManagementFileService fileService) : base((Project)projectItem.ContainingProject, projectItem, fileService) { this.projectItem = projectItem; this.fileService = fileService; }