예제 #1
0
 public IntellisenseFilter2(
     FilteredRoslynCompletionSet completionSet, CompletionItemFilter filter, string language)
     : base(ImageMonikers.GetImageMoniker(filter.Tags, language), GetToolTip(filter),
            filter.AccessKey.ToString(), automationText: filter.Tags[0])
 {
     _completionSet = completionSet;
     CompletionItemFilter = filter;
 }
예제 #2
0
 private static string GetToolTip(CompletionItemFilter filter)
 {
     return filter.DisplayText + " (Alt+" + char.ToUpper(filter.AccessKey) + ")";
 }