• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Projects.ProjectReferenceEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中MonoDevelop.Projects.ProjectReferenceEventArgs的典型用法代码示例。如果您正苦于以下问题:C# ProjectReferenceEventArgs类的具体用法?C# ProjectReferenceEventArgs怎么用?C# ProjectReferenceEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ProjectReferenceEventArgs类属于MonoDevelop.Projects命名空间,在下文中一共展示了ProjectReferenceEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: OnReferenceAdded

        static void OnReferenceAdded(object o, ProjectReferenceEventArgs args)
        {
            if (!Util.IsQyotoReference(args.ProjectReference))
                return;

            Project project = args.Project as DotNetProject;
            if (project != null && project.ExtendedProperties["QyotoDesignInfo"] == null)
                QyotoDesignInfo.EnableProject(project);
        }
开发者ID:codebutler,项目名称:qyotodevelop,代码行数:9,代码来源:ReferenceManager.cs


示例2: OnReferenceAddedToProject

		protected override void OnReferenceAddedToProject (ProjectReferenceEventArgs e)
		{
			base.OnReferenceAddedToProject (e);

			if (Project.Loading)
				return;

			if (RequiresMicrosoftBuild && e.ProjectReference.ReferenceType == ReferenceType.Project) {
				EnsureReferencedProjectsRequireMSBuild (true);
			}
		}
开发者ID:PlayScriptRedux,项目名称:monodevelop,代码行数:11,代码来源:DotNetProjectPackagingExtension.cs


示例3: OnReferenceRemoved

        static void OnReferenceRemoved(object o, ProjectReferenceEventArgs args)
        {
            if (!Util.IsQyotoReference(args.ProjectReference))
                return;

            DotNetProject dnp = args.Project as DotNetProject;

            if (dnp != null) {
                if (MonoDevelop.Core.Gui.MessageService.Confirm("Qyoto features will be disabled by removing the qt-dotnet reference.", new MonoDevelop.Core.Gui.AlertButton("Disable Qyoto")))
                    QyotoDesignInfo.DisableProject(dnp);
                else
                    dnp.References.Add(new ProjectReference(ReferenceType.Gac, args.ProjectReference.StoredReference));
            }
        }
开发者ID:codebutler,项目名称:qyotodevelop,代码行数:14,代码来源:ReferenceManager.cs


示例4: OnRemoveReference

		void OnRemoveReference (object sender, ProjectReferenceEventArgs e)
		{
			ITreeBuilder tb = Context.GetTreeBuilder (e.Project);
			if (tb != null) {
				if (tb.FindChild (e.ProjectReference, true))
					tb.Remove ();
			}
		}
开发者ID:slwatmough,项目名称:monodevelop,代码行数:8,代码来源:ProjectReferenceFolderNodeBuilder.cs


示例5: OnReferenceRemoved

		void OnReferenceRemoved (object ob, ProjectReferenceEventArgs args)
		{
			if (disposed || !librariesUpdated)
				return;
			string pref = GetReferenceLibraryPath (args.ProjectReference);
			if (pref != null) {
				gproject.RemoveWidgetLibrary (pref);
				SaveProject (false);
			}
		}
开发者ID:rajeshpillai,项目名称:monodevelop,代码行数:10,代码来源:GuiBuilderProject.cs


示例6: OnReferenceChanged

		void OnReferenceChanged (object s, ProjectReferenceEventArgs args)
		{
			if (args.Project.ParentSolution == folder.ParentSolution && NUnitProjectTestSuite.IsNUnitReference (args.ProjectReference))
				UpdateTests ();
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:5,代码来源:SolutionFolderTestGroup.cs


示例7: OnReferenceAddedToProject

		protected override void OnReferenceAddedToProject (ProjectReferenceEventArgs e)
		{
			findPipelineEntries(e.ProjectReference);
			base.OnReferenceAddedToProject(e);
		}
开发者ID:sergios1234,项目名称:monoxna,代码行数:5,代码来源:ContentProject.cs


示例8: OnReferenceRemoved

		static void OnReferenceRemoved (object o, ProjectReferenceEventArgs args)
		{
			if (updating || !IsGtkReference (args.ProjectReference))
				return;

			DotNetProject dnp = args.Project as DotNetProject;

			if (MessageService.Confirm (GettextCatalog.GetString ("The Gtk# User Interface designer will be disabled by removing the gtk-sharp reference."), new AlertButton (GettextCatalog.GetString ("Disable Designer"))))
				GtkDesignInfo.DisableProject (dnp);
			else
				dnp.References.Add (new ProjectReference (ReferenceType.Gac, args.ProjectReference.StoredReference));
		}
开发者ID:Tak,项目名称:monodevelop-novell,代码行数:12,代码来源:ReferenceManager.cs


示例9: OnRemoveReference

		void OnRemoveReference (object sender, ProjectReferenceEventArgs e)
		{
			var p = e.Project as DotNetProject;
			if (p != null) {
				ITreeBuilder tb = Context.GetTreeBuilder (p.References);
				if (tb != null && tb.FindChild (e.ProjectReference, true))
					tb.Remove ();
			}
		}
开发者ID:sushihangover,项目名称:monodevelop,代码行数:9,代码来源:ProjectReferenceFolderNodeBuilder.cs


示例10: OnReferenceAddedToProject

		protected override void OnReferenceAddedToProject (ProjectReferenceEventArgs e)
		{
			base.OnReferenceAddedToProject (e);

			DotNetProject project = GetDotNetProject (e.ProjectReference);
			if (project != null) {
				EnsureBuildPackagingNuGetPackageIsInstalled (project);
			}
		}
开发者ID:PlayScriptRedux,项目名称:monodevelop,代码行数:9,代码来源:PackagingProject.cs


示例11: OnAddReference

 void OnAddReference(object sender, ProjectReferenceEventArgs e)
 {
     var p = e.Project as AbstractDProject;
     if (p != null) {
         var tb = Context.GetTreeBuilder (p.References);
         if (tb != null)
             tb.AddChild (e.ProjectReference);
     }
 }
开发者ID:Geod24,项目名称:Mono-D,代码行数:9,代码来源:DProjectReferenceFolderNodeBuilder.cs


示例12: OnReferenceRemovedFromProject

		protected override void OnReferenceRemovedFromProject (ProjectReferenceEventArgs e)
		{
			//short-circuit if the project is being deserialised
			if (Project.Loading) {
				base.OnReferenceAddedToProject (e);
				return;
			}

			UpdateWebConfigRefs ();

			base.OnReferenceRemovedFromProject (e);
		}
开发者ID:kdubau,项目名称:monodevelop,代码行数:12,代码来源:AspNetAppProjectFlavor.cs


示例13: OnReferenceRemovedFromProject

			internal protected override void OnReferenceRemovedFromProject (ProjectReferenceEventArgs e)
			{
				Project.OnReferenceRemovedFromProject (e);
			}
开发者ID:ArsenShnurkov,项目名称:monodevelop,代码行数:4,代码来源:DotNetProject.cs


示例14: OnReferenceAddedToProject

			internal protected override void OnReferenceAddedToProject (ProjectReferenceEventArgs e)
			{
				Project.OnReferenceAddedToProject (e);
			}
开发者ID:ArsenShnurkov,项目名称:monodevelop,代码行数:4,代码来源:DotNetProject.cs


示例15: OnReferenceRemovedFromProject

		internal protected virtual void OnReferenceRemovedFromProject (ProjectReferenceEventArgs e)
		{
			next.OnReferenceRemovedFromProject (e);
		}
开发者ID:sushihangover,项目名称:monodevelop,代码行数:4,代码来源:DotNetProjectExtension.cs


示例16: OnReferenceAddedToProject

		internal protected virtual void OnReferenceAddedToProject (ProjectReferenceEventArgs e)
		{
			next.OnReferenceAddedToProject (e);
		}
开发者ID:sushihangover,项目名称:monodevelop,代码行数:4,代码来源:DotNetProjectExtension.cs


示例17: OnReferenceRemovedFromProject

        protected override void OnReferenceRemovedFromProject(ProjectReferenceEventArgs e)
        {
            base.OnReferenceRemovedFromProject (e);

            if (addingReferences)
                return;

            if (e.ProjectReference.ReferenceType == ReferenceType.Project) {
                var jsonFile = ProjectJsonFile.Read (this);
                if (jsonFile.Exists) {
                    jsonFile.RemoveProjectReference (e.ProjectReference);
                    jsonFile.Save ();
                    FileService.NotifyFileChanged (jsonFile.Path);
                } else {
                    LoggingService.LogDebug ("Unable to find project.json '{0}'", jsonFile.Path);
                }
            }
        }
开发者ID:twing207,项目名称:monodevelop-dnx-addin,代码行数:18,代码来源:DnxProject.cs


示例18: OnProjectReferenceRemoved

		static void OnProjectReferenceRemoved (object sender, ProjectReferenceEventArgs args)
		{
			ProjectDom db = GetProjectDom (args.Project);
			if (db != null) {
				db.OnProjectReferenceRemoved (args.ProjectReference);
			}
		}
开发者ID:Poiros,项目名称:monodevelop,代码行数:7,代码来源:ProjectDomService.cs


示例19: ProjectReferenceRemovedFromProject

		void ProjectReferenceRemovedFromProject (object sender, ProjectReferenceEventArgs e)
		{
		}
开发者ID:transformersprimeabcxyz,项目名称:monodevelop-1,代码行数:3,代码来源:AddinData.cs


示例20: OnAddReference

		void OnAddReference (object sender, ProjectReferenceEventArgs e)
		{
			DotNetProject p = e.Project as DotNetProject;
			if (p != null) {
				ITreeBuilder tb = Context.GetTreeBuilder (p.References);
				if (tb != null)
					tb.AddChild (e.ProjectReference);
			}
		}
开发者ID:sushihangover,项目名称:monodevelop,代码行数:9,代码来源:ProjectReferenceFolderNodeBuilder.cs



注:本文中的MonoDevelop.Projects.ProjectReferenceEventArgs类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Projects.SolutionFolderItem类代码示例发布时间:2022-05-26
下一篇:
C# Projects.ProjectReference类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap