C# Class Dynamo.ViewModels.PackageManagerClientViewModel

A thin wrapper on the Greg rest client for performing IO with the Package Manager
Inheritance: Dynamo.Core.NotificationObject
Exibir arquivo Open project: DynamoDS/Dynamo Class Usage Examples

Public Properties

Property Type Description
DynamoViewModel DynamoViewModel

Private Properties

Property Type Description
CanToggleLoginState bool
DownloadAndInstall void
PackageManagerClientViewModel System
ShowNodePublishInfo void
ShowNodePublishInfo void
ToggleLoginState void

Public Methods

Method Description
CanPublishCurrentWorkspace ( object m ) : bool
CanPublishCustomNode ( Function m ) : bool
CanPublishNewPackage ( object m ) : bool
CanPublishSelectedNodes ( object m ) : bool
ClearCompletedDownloads ( ) : void
GoToWebsite ( ) : void
ListAll ( ) : List
PublishCurrentWorkspace ( object m ) : void
PublishCustomNode ( Function m ) : void
PublishNewPackage ( object m ) : void
PublishSelectedNodes ( object m ) : void

Private Methods

Method Description
CanToggleLoginState ( ) : bool
DownloadAndInstall ( PackageDownloadHandle packageDownloadHandle, string downloadPath ) : void

This method downloads the package represented by the PackageDownloadHandle, uninstalls its current installation if necessary, and installs the package. Note that, if the package is already installed, it must be uninstallable

PackageManagerClientViewModel ( DynamoViewModel dynamoViewModel, PackageManagerClient model ) : System
ShowNodePublishInfo ( ) : void
ShowNodePublishInfo ( CustomNodeDefinition>.ICollection funcDefs ) : void
ToggleLoginState ( ) : void

Method Details

CanPublishCurrentWorkspace() public method

public CanPublishCurrentWorkspace ( object m ) : bool
m object
return bool

CanPublishCustomNode() public method

public CanPublishCustomNode ( Function m ) : bool
m Function
return bool

CanPublishNewPackage() public method

public CanPublishNewPackage ( object m ) : bool
m object
return bool

CanPublishSelectedNodes() public method

public CanPublishSelectedNodes ( object m ) : bool
m object
return bool

ClearCompletedDownloads() public method

public ClearCompletedDownloads ( ) : void
return void

GoToWebsite() public method

public GoToWebsite ( ) : void
return void

ListAll() public method

public ListAll ( ) : List
return List

PublishCurrentWorkspace() public method

public PublishCurrentWorkspace ( object m ) : void
m object
return void

PublishCustomNode() public method

public PublishCustomNode ( Function m ) : void
m Function
return void

PublishNewPackage() public method

public PublishNewPackage ( object m ) : void
m object
return void

PublishSelectedNodes() public method

public PublishSelectedNodes ( object m ) : void
m object
return void

Property Details

DynamoViewModel public_oe property

public DynamoViewModel DynamoViewModel
return DynamoViewModel