Share via


AllModulesViewModel Class

Definition

Contains all Commands, Parameters, ParameterSet and Common Parameter.

public ref class AllModulesViewModel : System::ComponentModel::INotifyPropertyChanged
public class AllModulesViewModel : System.ComponentModel.INotifyPropertyChanged
type AllModulesViewModel = class
    interface INotifyPropertyChanged
Public Class AllModulesViewModel
Implements INotifyPropertyChanged
Inheritance
AllModulesViewModel
Implements

Constructors

AllModulesViewModel(Dictionary<String,ShowCommandModuleInfo>, IEnumerable<ShowCommandCommandInfo>)

Initializes a new instance of the AllModulesViewModel class

AllModulesViewModel(Dictionary<String,ShowCommandModuleInfo>, IEnumerable<ShowCommandCommandInfo>, Boolean)

Initializes a new instance of the AllModulesViewModel class

Properties

CanCopy

Gets a value indicating whether we can copy a command

CanRun

Gets a value indicating whether we can run a command

CommandNameFilter

Gets or sets the filterName of command

ExtraViewModel

Gets or sets an extra viewModel object that allows callers to control certain aspects of the GUI

MainGridDisplayed

Gets a value indicating whether the main grid is displayed

MainGridVisibility

Gets the visibility of the main grid

Modules

Gets the Modules parameter.

NoCommonParameter

Gets a value indicating whether common parameters are displayed

RefreshTooltip

Gets the tooltip for the refresh button

RefreshVisibility

Gets or sets the visibility of the refresh button

SelectedModule

Gets or sets the selected module being displayed in the GUI

WaitMessageDisplayed

Gets or sets a value indicating whether the wait message is displayed

WaitMessageVisibility

Gets the visibility of the wait message

ZoomLevel

Get or Sets Zoom level

Methods

GetScript()

Returns the selected script

Events

PropertyChanged

PropertyChanged Event

Refresh

Indicates we want to refresh the viewModel

RunSelectedCommandInSelectedModule

Indicates the selected command in the selected module should be run

SelectedCommandInSelectedModuleNeedsHelp

Indicates the selected command in the selected module needs to display the help for a command

SelectedCommandInSelectedModuleNeedsImportModule

Indicates the selected command in the selected module needs to import a module for a command

Applies to