C# Класс Dynamo.Engine.CodeCompletion.CodeCompletionServices

Interacts with the VM core to provide code completion data to the UI
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
KeywordList string[]

Открытые методы

Метод Описание
CodeCompletionServices ( ProtoCore core ) : System.Diagnostics

Приватные методы

Метод Описание
AddTypesToCompletionData ( string stringToComplete, List completions, ProtoCore.Namespace.ElementResolver resolver ) : void
GetClassType ( string className ) : ClassMirror
GetClasses ( ) : IEnumerable

Returns the list of names of classes loaded in the Core

GetCompletionsOnType ( string code, string stringToComplete, ProtoCore.Namespace.ElementResolver resolver = null ) : IEnumerable

Determines if the completion string is a valid type and enumerates the list of completion members on the type

GetFunctionSignatures ( string code, string functionName, string functionPrefix, ElementResolver resolver = null ) : IEnumerable

Returns the list of function signatures of all overloads of a given method

GetGlobals ( ) : IEnumerable

Returns the list of names of global methods and properties in Core

SearchCompletions ( string stringToComplete, Guid guid, ElementResolver resolver = null ) : IEnumerable

Matches the completion string with classes and global methods and properties loaded in the session

SearchTypes ( string stringToComplete, ElementResolver resolver = null ) : IEnumerable

Matches the completion string with classes, including primitive types.

Описание методов

CodeCompletionServices() публичный Метод

public CodeCompletionServices ( ProtoCore core ) : System.Diagnostics
core ProtoCore
Результат System.Diagnostics

Описание свойств

KeywordList публичное статическое свойство

public static string[] KeywordList
Результат string[]