Exemple #1
0
 public static HoverParams FromHoverCommand(Commands.RequestHoverText requestHoverText)
 {
     return(new HoverParams(
                TextDocument.FromDocumentContents(requestHoverText.Code),
                Position.FromLinePosition(requestHoverText.Position)));
 }
Exemple #2
0
 public HoverParams(TextDocument textDocument, Position position)
 {
     TextDocument = textDocument;
     Position     = position;
 }