InvokeCommands() public method

public InvokeCommands ( System.Management.Automation.PSCommand profileCommands ) : void
profileCommands System.Management.Automation.PSCommand
return void
示例#1
0
 private static void LoadProfilesIntoRunspace(RunspaceDispatcher runspace)
 {
     PSCommand[] profileCommands = HostUtilities.GetProfileCommands(ProfilePrefix);
     runspace.InvokeCommands(profileCommands);
 }
示例#2
0
 private static void LoadProfilesIntoRunspace(RunspaceDispatcher runspace)
 {
     PSCommand[] profileCommands = HostUtilities.GetProfileCommands(ProfilePrefix);
     runspace.InvokeCommands(profileCommands);
 }