C# Class Dynamo.DynamoPackagesUI.Utilities.PackageManagerCommands

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

Private Properties

Property Type Description
CheckForBinariesPythonScripts MessageBoxResult
CheckForNewerDynamoVersion MessageBoxResult
FilterFuturePackages dynamic>>.IEnumerable
FormatPackageVersionList string
GetDependencies void
InstallPackage void
JoinPackageNames string
PromptFileSelectionDialog void
RequestGetDownloadPath string

Public Methods

Method 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

Method 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 method

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

GetCustomPathForInstall() public method

Get the folder path to install the package
public GetCustomPathForInstall ( ) : string
return string

GoToRootDirectory() public method

Open the root directory for PkgRequest
public GoToRootDirectory ( ) : void
return void

PackageManagerCommands() public method

public PackageManagerCommands ( Dynamo.PackageManager.PackageLoader loader, DynamoModel model ) : CefSharp
loader Dynamo.PackageManager.PackageLoader
model Dynamo.Models.DynamoModel
return CefSharp

PackageOnExecuted() public method

Install button click event
public PackageOnExecuted ( dynamic asset, dynamic version ) : string
asset dynamic
version dynamic
return string

Uninstall() public method

Uninstall Dynamo Package
public Uninstall ( ) : bool
return bool

UnmarkForUninstallation() public method

Unmark Uninstall for PkgRequest
public UnmarkForUninstallation ( ) : void
return void