Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | System.Threading.Tasks.Task |
public GetFunctionInfo ( string functionName, string packageName, string>.Action | ||
functionName | string | |
packageName | string | |
infoReadyCallback | string>.Action | |
parameter | object | |
Résultat | IFunctionInfo |
public GetFunctionInfoAsync ( string functionName, string packageName = null ) : Task |
||
functionName | string | |
packageName | string | |
Résultat | Task |
public RegisterPackageFunctions ( IPackageInfo package ) : void | ||
package | IPackageInfo | |
Résultat | void |