Ejemplo n.º 1
0
            public object Create()
            {
                var image = new Image
                {
                    Width  = 16,
                    Height = 16,
                    Source = Glyph.ToImageSource()
                };

                return(image);
            }
Ejemplo n.º 2
0
 public RoslynCompletionData(Document document, CompletionItem item, char?completionChar, SnippetManager snippetManager)
 {
     _document        = document;
     _item            = item;
     _completionChar  = completionChar;
     _snippetManager  = snippetManager;
     Text             = item.DisplayText;
     Content          = item.DisplayText;
     _glyph           = item.GetGlyph();
     _descriptionTask = new Lazy <Task>(RetrieveDescription);
     Image            = _glyph.ToImageSource();
 }
Ejemplo n.º 3
0
 public SymbolGlyphDeferredContent(Glyph glyph)
 {
     Glyph = glyph;
 }