コード例 #1
0
		void CreateProperties(string fileName)
		{
			solutionHelper = new SolutionHelper(fileName);
			solution = solutionHelper.Solution;
			msbuildSolution = solutionHelper.MSBuildSolution;
			properties = (Properties)solution.Properties;
		}
コード例 #2
0
		void CreateProperties()
		{
			project = new TestableDTEProject();
			msbuildProject = project.TestableProject;
			var factory = new ProjectPropertyFactory(project);
			properties = new ICSharpCode.PackageManagement.EnvDTE.Properties(factory);
		}
コード例 #3
0
		void CreateProperties()
		{
			project = new TestableDTEProject();
			msbuildProject = project.TestableProject;
			var factory = new ProjectPropertyFactory(project);
			properties = new Properties(factory);
		}
コード例 #4
0
		void CreateProperties()
		{
			solutionHelper = new SolutionHelper();
			solution = solutionHelper.Solution;
			msbuildSolution = solutionHelper.MSBuildSolution;
			properties = (Properties)solution.Properties;
		}
コード例 #5
0
		void CreateProjectItemProperties()
		{
			project = new TestableDTEProject();
			msbuildProject = project.TestableProject;
			msbuildFileProjectItem = new SD.FileProjectItem(msbuildProject, SD.ItemType.Compile);
			projectItem = new ProjectItem(project, msbuildFileProjectItem);
			properties = projectItem.Properties;
		}
コード例 #6
0
        void CreateProperties()
        {
            project        = new TestableDTEProject();
            msbuildProject = project.TestableProject;
            var factory = new ProjectPropertyFactory(project);

            properties = new ICSharpCode.PackageManagement.EnvDTE.Properties(factory);
        }
コード例 #7
0
		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);
		}
コード例 #8
0
        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);			
		}
コード例 #10
0
ファイル: Project.cs プロジェクト: ichengzi/SharpDevelop
 void CreateProperties()
 {
     var propertyFactory = new ProjectPropertyFactory(this);
     Properties = new Properties(propertyFactory);
 }
コード例 #11
0
ファイル: Solution.cs プロジェクト: Netring/SharpDevelop
		void CreateProperties()
		{
			var propertyFactory = new SolutionPropertyFactory(this);
			Properties = new Properties(propertyFactory);
		}
コード例 #12
0
        void CreateProperties()
        {
            var propertyFactory = new SolutionPropertyFactory(this);

            Properties = new Properties(propertyFactory);
        }