C# Class Dynamo.DynamoPackagesUI.Utilities.PackageManagerCommands

CEF calss to assist exploring packages, authors and logged in user packages.
Inheritance: IPackageManagerCommands
Afficher le fichier Open project: DynamoDS/Dynamo Class Usage Examples

Private Properties

Свойство Type Description
CheckForBinariesPythonScripts MessageBoxResult
CheckForNewerDynamoVersion MessageBoxResult
FilterFuturePackages dynamic>>.IEnumerable
FormatPackageVersionList string
GetDependencies void
InstallPackage void
JoinPackageNames string
PromptFileSelectionDialog void
RequestGetDownloadPath string

Méthodes publiques

Méthode Description
DownloadAndInstall ( string package ) : void

Download and Install Dynamo Package pkg input parameter contains comma delimitted value as "assetId,fileID"

GetCustomPathForInstall ( ) : string

Get the folder path to install the package

GoToRootDirectory ( ) : void

Open the root directory for PkgRequest

PackageManagerCommands ( Dynamo.PackageManager.PackageLoader loader, DynamoModel model ) : CefSharp
PackageOnExecuted ( dynamic asset, dynamic version ) : string

Install button click event

Uninstall ( ) : bool

Uninstall Dynamo Package

UnmarkForUninstallation ( ) : void

Unmark Uninstall for PkgRequest

Private Methods

Méthode Description
CheckForBinariesPythonScripts ( dynamic version, dynamic>.List packageVersionData ) : MessageBoxResult
CheckForNewerDynamoVersion ( dynamic>.List packageVersionData ) : MessageBoxResult
FilterFuturePackages ( dynamic>.List pkgVersions, System.Version currentAppVersion, int numberOfFieldsToCompare = 3 ) : dynamic>>.IEnumerable
FormatPackageVersionList ( dynamic>.List packages ) : string
GetDependencies ( dynamic version, dynamic>.List &packageVersionData ) : void
InstallPackage ( string downloadPath ) : void

Install Dynamo Package

JoinPackageNames ( IEnumerable pkgs ) : string
PromptFileSelectionDialog ( PackagePathEventArgs e ) : void
RequestGetDownloadPath ( ) : string

Method Details

DownloadAndInstall() public méthode

Download and Install Dynamo Package pkg input parameter contains comma delimitted value as "assetId,fileID"
public DownloadAndInstall ( string package ) : void
package string
Résultat void

GetCustomPathForInstall() public méthode

Get the folder path to install the package
public GetCustomPathForInstall ( ) : string
Résultat string

GoToRootDirectory() public méthode

Open the root directory for PkgRequest
public GoToRootDirectory ( ) : void
Résultat void

PackageManagerCommands() public méthode

public PackageManagerCommands ( Dynamo.PackageManager.PackageLoader loader, DynamoModel model ) : CefSharp
loader Dynamo.PackageManager.PackageLoader
model Dynamo.Models.DynamoModel
Résultat CefSharp

PackageOnExecuted() public méthode

Install button click event
public PackageOnExecuted ( dynamic asset, dynamic version ) : string
asset dynamic
version dynamic
Résultat string

Uninstall() public méthode

Uninstall Dynamo Package
public Uninstall ( ) : bool
Résultat bool

UnmarkForUninstallation() public méthode

Unmark Uninstall for PkgRequest
public UnmarkForUninstallation ( ) : void
Résultat void