C# Класс Microsoft.R.Support.Help.Packages.PackageIndex

Наследование: IPackageIndex
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BuildIndexAsync System.Threading.Tasks.Task
BuildInstalledPackagesIndexAsync System.Threading.Tasks.Task
BuildPreloadedPackagesFunctionListAsync System.Threading.Tasks.Task
BuildRemainingPackagesFunctionListAsync System.Threading.Tasks.Task
GetInstalledPackagesAsync Task>
GetPackageInfo IPackageInfo
OnBrokerStateChanged void
OnPackagesChanged void
OnSessionConnected void
PackageIndex System
RebuildIndexAsync System.Threading.Tasks.Task
ScheduleIdleTimeRebuild void
TryAddMissingPackagesAsync Task>

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

Метод Описание
BuildIndexAsync ( ) : System.Threading.Tasks.Task
ClearCache ( ) : void
Dispose ( ) : void
GetPackageInfoAsync ( string packageName ) : Task

Retrieves R package information by name. If package is not in the index, attempts to locate the package in the current R session.

GetPackagesInfoAsync ( IEnumerable packageNames ) : Task>

Retrieves information on multilple R packages. If one of the packages is not in the index, attempts to locate the package in the current R session.

WriteToDisk ( ) : void

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

Метод Описание
BuildIndexAsync ( IBinaryAsyncLockToken lockToken ) : System.Threading.Tasks.Task
BuildInstalledPackagesIndexAsync ( ) : System.Threading.Tasks.Task
BuildPreloadedPackagesFunctionListAsync ( ) : System.Threading.Tasks.Task
BuildRemainingPackagesFunctionListAsync ( ) : System.Threading.Tasks.Task
GetInstalledPackagesAsync ( ) : Task>
GetPackageInfo ( string packageName ) : IPackageInfo

Retrieves information on the package from index. Does not attempt to locate the package if it is not in the index such as when package was just installed.

OnBrokerStateChanged ( object sender, BrokerStateChangedEventArgs e ) : void
OnPackagesChanged ( object sender, EventArgs e ) : void
OnSessionConnected ( object sender, RConnectedEventArgs e ) : void
PackageIndex ( IRInteractiveWorkflowProvider interactiveWorkflowProvider, ICoreShell shell, IIntellisenseRSession host, IFunctionIndex functionIndex ) : System
RebuildIndexAsync ( ) : System.Threading.Tasks.Task
ScheduleIdleTimeRebuild ( ) : void
TryAddMissingPackagesAsync ( IEnumerable packageNames ) : Task>

From the supplied names selects packages that are not in the index and attempts to add them to the index. This typically applies to packages that were just installed.

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

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

public BuildIndexAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

ClearCache() публичный статический Метод

public static ClearCache ( ) : void
Результат void

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

public Dispose ( ) : void
Результат void

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

Retrieves R package information by name. If package is not in the index, attempts to locate the package in the current R session.
public GetPackageInfoAsync ( string packageName ) : Task
packageName string
Результат Task

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

Retrieves information on multilple R packages. If one of the packages is not in the index, attempts to locate the package in the current R session.
public GetPackagesInfoAsync ( IEnumerable packageNames ) : Task>
packageNames IEnumerable
Результат Task>

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

public WriteToDisk ( ) : void
Результат void