Метод | Описание | |
---|---|---|
BuildIndexAsync ( IPackageIndex packageIndex = null ) : System.Threading.Tasks.Task | ||
GetFunctionInfo ( string functionName, string packageName, string>.Action |
Retrieves function information by name. If information is not available, starts asynchronous retrieval of the function info from R and when the data becomes available invokes specified callback passing the parameter. This is used for async intellisense or function signature/parameter help.
|
|
GetFunctionInfoAsync ( string functionName, string packageName = null ) : Task |
||
RegisterPackageFunctions ( IPackageInfo package ) : void |
Метод | Описание | |
---|---|---|
FunctionIndex ( ICoreShell coreShell, IFunctionRdDataProvider rdDataProfider, IIntellisenseRSession host ) : System | ||
GetFunctionInfoFromEngineAsync ( string functionName, string packageName, string>.Action |
Fetches help on the function from R asynchronously. When function data is obtained, parsed and the function index is updated, method invokes infoReadyCallback callback passing the specified parameter. Callback method can now fetch function information from the index.
|
|
GetFunctionInfosFromRd ( string rdData ) : IReadOnlyList |
||
GetQualifiedName ( string functionName, string packageName ) : string | ||
RegisterFunction ( string functionName, string packageName ) : void | ||
TryGetCachedFunctionInfo ( string functionName, string &packageName ) : IFunctionInfo |
Attempts to retrieve function information from cache is a simple manner. Specifically, when function name is unique (then package name is irrelevant) or the package name is known.
|
|
UpdateIndex ( string functionName, string packageName, string rdData ) : void |
public BuildIndexAsync ( IPackageIndex packageIndex = null ) : System.Threading.Tasks.Task | ||
packageIndex | IPackageIndex | |
Результат | System.Threading.Tasks.Task |
public GetFunctionInfo ( string functionName, string packageName, string>.Action | ||
functionName | string | |
packageName | string | |
infoReadyCallback | string>.Action | |
parameter | object | |
Результат | IFunctionInfo |
public GetFunctionInfoAsync ( string functionName, string packageName = null ) : Task |
||
functionName | string | |
packageName | string | |
Результат | Task |
public RegisterPackageFunctions ( IPackageInfo package ) : void | ||
package | IPackageInfo | |
Результат | void |