ModuleViewModel Constructor

Definition

Initializes a new instance of the ModuleViewModel class.

public:
 ModuleViewModel(System::String ^ name, System::Collections::Generic::Dictionary<System::String ^, Microsoft::PowerShell::Commands::ShowCommandExtension::ShowCommandModuleInfo ^> ^ importedModules);
public ModuleViewModel(string name, System.Collections.Generic.Dictionary<string,Microsoft.PowerShell.Commands.ShowCommandExtension.ShowCommandModuleInfo> importedModules);
new Microsoft.PowerShell.Commands.ShowCommandInternal.ModuleViewModel : string * System.Collections.Generic.Dictionary<string, Microsoft.PowerShell.Commands.ShowCommandExtension.ShowCommandModuleInfo> -> Microsoft.PowerShell.Commands.ShowCommandInternal.ModuleViewModel
Public Sub New (name As String, importedModules As Dictionary(Of String, ShowCommandModuleInfo))

Parameters

name
String

Module name

importedModules
Dictionary<String,ShowCommandModuleInfo>

All loaded modules

Applies to