当前位置: 首页>>代码示例>>C#>>正文


C# IMember.GetStockIcon方法代码示例

本文整理汇总了C#中IMember.GetStockIcon方法的典型用法代码示例。如果您正苦于以下问题:C# IMember.GetStockIcon方法的具体用法?C# IMember.GetStockIcon怎么用?C# IMember.GetStockIcon使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IMember的用法示例。


在下文中一共展示了IMember.GetStockIcon方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ProtocolCompletionData

		public ProtocolCompletionData (MonoCSharpCompletionEngine engine, int declarationBegin, IMember member) : base (null)
		{
			this.engine = engine;
			this.member = member;

			this.declarationBegin = declarationBegin;
			this.GenerateBody = true;
			this.Icon = member.GetStockIcon ();
			this.DisplayText = ambience.GetString (member, OutputFlags.IncludeParameters | OutputFlags.IncludeParameterName | OutputFlags.IncludeGenerics | OutputFlags.HideExtensionsParameter| OutputFlags.IncludeAccessor);
			this.CompletionText = member.SymbolKind == SymbolKind.Indexer ? "this" : member.Name;
		}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:11,代码来源:ProtocolCompletionData.cs

示例2: NewOverrideCompletionData

		public NewOverrideCompletionData (CSharpCompletionTextEditorExtension ext, int declarationBegin, IUnresolvedTypeDefinition type, IMember member) : base (null)
		{
			this.ext = ext;
			this.type   = type;
			this.member = member;
			
			this.declarationBegin = declarationBegin;
			this.GenerateBody = true;
			this.Icon = member.GetStockIcon ();
			this.DisplayText = ambience.GetString (member, OutputFlags.IncludeParameters | OutputFlags.IncludeParameterName | OutputFlags.IncludeGenerics | OutputFlags.HideExtensionsParameter| OutputFlags.IncludeAccessor);
			this.CompletionText = member.EntityType == EntityType.Indexer ? "this" : member.Name;
		}
开发者ID:RainsSoft,项目名称:playscript-monodevelop,代码行数:12,代码来源:NewOverrideCompletionData.cs

示例3: AspAttributeCompletionData

		public AspAttributeCompletionData (IMember member, string name = null)
			: base (name ?? member.Name, member.GetStockIcon ())
		{
			this.member = member;
		}
开发者ID:brantwedel,项目名称:monodevelop,代码行数:5,代码来源:WebFormsTypeContext.cs


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