void CreateProperties(string fileName) { solutionHelper = new SolutionHelper(fileName); solution = solutionHelper.Solution; msbuildSolution = solutionHelper.MSBuildSolution; properties = (Properties)solution.Properties; }
void CreateProperties() { project = new TestableDTEProject(); msbuildProject = project.TestableProject; var factory = new ProjectPropertyFactory(project); properties = new ICSharpCode.PackageManagement.EnvDTE.Properties(factory); }
void CreateProperties() { project = new TestableDTEProject(); msbuildProject = project.TestableProject; var factory = new ProjectPropertyFactory(project); properties = new Properties(factory); }
void CreateProperties() { solutionHelper = new SolutionHelper(); solution = solutionHelper.Solution; msbuildSolution = solutionHelper.MSBuildSolution; properties = (Properties)solution.Properties; }
void CreateProjectItemProperties() { project = new TestableDTEProject(); msbuildProject = project.TestableProject; msbuildFileProjectItem = new SD.FileProjectItem(msbuildProject, SD.ItemType.Compile); projectItem = new ProjectItem(project, msbuildFileProjectItem); properties = projectItem.Properties; }
void CreateProjectItemProperties() { project = new TestableDTEProject(); msbuildProject = project.TestableProject; msbuildFileProjectItem = new SD.FileProjectItem(msbuildProject, SD.ItemType.Compile); projectItem = new ProjectItem(project, msbuildFileProjectItem); properties = (ICSharpCode.PackageManagement.EnvDTE.Properties)projectItem.Properties; IWorkbench workbench = MockRepository.GenerateStub<IWorkbench>(); ICSharpCode.SharpDevelop.SD.Services.AddService(typeof(IWorkbench), workbench); }
void CreateProjectItemProperties() { project = new TestableDTEProject(); msbuildProject = project.TestableProject; msbuildFileProjectItem = new SD.FileProjectItem(msbuildProject, SD.ItemType.Compile); projectItem = new ProjectItem(project, msbuildFileProjectItem); properties = (ICSharpCode.PackageManagement.EnvDTE.Properties)projectItem.Properties; IWorkbench workbench = MockRepository.GenerateStub <IWorkbench>(); ICSharpCode.SharpDevelop.SD.Services.AddService(typeof(IWorkbench), workbench); }
void CreateProperties() { propertyFactory = new TextEditorFontsAndColorsPropertyFactory(); properties = new Properties(propertyFactory); }
void CreateProperties() { var propertyFactory = new ProjectPropertyFactory(this); Properties = new Properties(propertyFactory); }
void CreateProperties() { var propertyFactory = new SolutionPropertyFactory(this); Properties = new Properties(propertyFactory); }