本文整理汇总了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;
}
示例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;
}
示例3: AspAttributeCompletionData
public AspAttributeCompletionData (IMember member, string name = null)
: base (name ?? member.Name, member.GetStockIcon ())
{
this.member = member;
}