ModuleViewModel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ModuleViewModel Contains information about a PowerShell module.
public ref class ModuleViewModel : System::ComponentModel::INotifyPropertyChanged
public class ModuleViewModel : System.ComponentModel.INotifyPropertyChanged
type ModuleViewModel = class
interface INotifyPropertyChanged
Public Class ModuleViewModel
Implements INotifyPropertyChanged
- Inheritance
-
ModuleViewModel
- Implements
Constructors
ModuleViewModel(String, Dictionary<String,ShowCommandModuleInfo>) |
Initializes a new instance of the ModuleViewModel class. |
Properties
AllModules |
Gets the AllModulesViewModel containing this, if any |
CommandControlVisibility |
Gets CommandControl is visibility or not |
CommandRowHeight |
Gets CommandControl Height |
Commands |
Gets the commands under in this module |
DisplayName |
Gets the GUI friendly module name |
FilteredCommands |
Gets the filter commands of this module |
IsThereASelectedCommand |
Gets or sets a value indicating whether there is a selected command |
IsThereASelectedImportedCommandWhereAllMandatoryParametersHaveValues |
Gets or sets a value indicating whether there is a selected command which belongs to an imported module, with no parameter sets or with a selected parameter set where all mandatory parameters have values |
Name |
Gets the name property of this ModuleView |
SelectedCommand |
Gets or sets the selected commands of this module |
Events
PropertyChanged |
PropertyChanged Event |
RunSelectedCommand |
Indicates the selected command should be run |
SelectedCommandNeedsHelp |
Indicates the selected command in needs to display the help for a command |
SelectedCommandNeedsImportModule |
Indicates the selected command needs to import a module |