C# Класс Microsoft.R.Components.PackageManager.Implementation.ViewModel.RPackageManagerViewModel

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

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

Метод Описание
DefaultActionAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
DismissAllErrorMessages ( ) : void
DismissErrorMessage ( ) : void
Dispose ( ) : void
InstallAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
LoadAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
RPackageManagerViewModel ( IRPackageManager packageManager, IRSettings settings, ICoreShell coreShell ) : System
ReloadCurrentTabAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
Search ( string searchString, CancellationToken cancellationToken ) : Task
SelectPackage ( IRPackageViewModel package ) : void
SwitchToAvailablePackagesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
SwitchToInstalledPackagesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
SwitchToLoadedPackagesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
UninstallAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
UnloadAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
UpdateAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task

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

Метод Описание
AfterLoadUnloadAsync ( IRPackageViewModel package, Tab startingTab, CancellationToken cancellationToken ) : Task
ApplySearch ( IList packages, CancellationToken cancellationToken ) : void
AvailablePackagesInvalidated ( object sender, EventArgs e ) : void
BeforeLoadUnload ( IRPackageViewModel package ) : void
EnsureAvailablePackagesLoadedAsync ( bool reload, CancellationToken cancellationToken ) : Task
EnsureInstalledAndLoadedPackagesAsync ( bool reload, CancellationToken cancellationToken ) : Task
IdentifyRemovablePackages ( ICollection packages ) : void
InstalledPackagesInvalidated ( object sender, EventArgs e ) : void
LoadAvailablePackagesAsync ( CancellationToken cancellationToken ) : Task
LoadInstalledAndLoadedPackagesAsync ( bool reload, CancellationToken cancellationToken ) : Task
LoadedPackagesInvalidated ( object sender, EventArgs e ) : void
MarkUninstalledAndUnloaded ( CancellationToken cancellationToken ) : Task
ReloadLoadedPackagesAsync ( CancellationToken cancellationToken ) : Task
ReloadTabContentAsync ( Tab tab, CancellationToken cancellationToken = default(CancellationToken) ) : Task
ReplaceItemsAsync ( IList packages, CancellationToken cancellationToken ) : Task
ReplaceItemsAsync ( Tab startingTab, CancellationToken cancellationToken ) : Task
Search ( IList packages, string searchString, CancellationToken cancellationToken ) : int
SetTabAsync ( Tab tab, CancellationToken cancellationToken ) : Task
ShowPackageLockedMessage ( PackageLockState packageLockState, string packageName ) : void
UpdateImplAsync ( IRPackageViewModel package, CancellationToken cancellationToken ) : Task
UpdateLoadedPackages ( IList installedPackages, IList loadedPackageNames, CancellationToken cancellationToken ) : Task
UpdateSelectedPackage ( IList packages ) : void

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

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

public DefaultActionAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
Результат Task

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

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

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

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

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

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

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

public InstallAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
package IRPackageViewModel
cancellationToken System.Threading.CancellationToken
Результат Task

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

public LoadAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
package IRPackageViewModel
cancellationToken System.Threading.CancellationToken
Результат Task

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

public RPackageManagerViewModel ( IRPackageManager packageManager, IRSettings settings, ICoreShell coreShell ) : System
packageManager IRPackageManager
settings IRSettings
coreShell ICoreShell
Результат System

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

public ReloadCurrentTabAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
Результат Task

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

public Search ( string searchString, CancellationToken cancellationToken ) : Task
searchString string
cancellationToken System.Threading.CancellationToken
Результат Task

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

public SelectPackage ( IRPackageViewModel package ) : void
package IRPackageViewModel
Результат void

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

public SwitchToAvailablePackagesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
Результат Task

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

public SwitchToInstalledPackagesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
Результат Task

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

public SwitchToLoadedPackagesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
Результат Task

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

public UninstallAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
package IRPackageViewModel
cancellationToken System.Threading.CancellationToken
Результат Task

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

public UnloadAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
package IRPackageViewModel
cancellationToken System.Threading.CancellationToken
Результат Task

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

public UpdateAsync ( IRPackageViewModel package, CancellationToken cancellationToken = default(CancellationToken) ) : Task
package IRPackageViewModel
cancellationToken System.Threading.CancellationToken
Результат Task