internal ShowCommandProxy(ShowCommandCommand cmdlet)
 {
     this.cmdlet = cmdlet;
     this.graphicalHostReflectionWrapper = GraphicalHostReflectionWrapper.GetGraphicalHostReflectionWrapper(cmdlet, "Microsoft.PowerShell.Commands.ShowCommandInternal.ShowCommandHelper");
 }
 internal ShowCommandProxy(ShowCommandCommand cmdlet)
 {
     _cmdlet = cmdlet;
     _graphicalHostReflectionWrapper = GraphicalHostReflectionWrapper.GetGraphicalHostReflectionWrapper(cmdlet, ShowCommandProxy.ShowCommandHelperName);
 }
Exemple #3
0
 internal static void SetInputRecord(ref ShowCommandCommand.ConsoleInputWithNativeMethods.INPUT_RECORD inputRecord, char character)
 {
     inputRecord.EventType = 1;
     inputRecord.KeyEvent.bKeyDown = true;
     inputRecord.KeyEvent.UnicodeChar = character;
 }
Exemple #4
0
 internal ShowCommandProxy(ShowCommandCommand cmdlet)
 {
     _cmdlet = cmdlet;
     _graphicalHostReflectionWrapper = GraphicalHostReflectionWrapper.GetGraphicalHostReflectionWrapper(cmdlet, ShowCommandProxy.ShowCommandHelperName);
 }
Exemple #5
0
 internal ShowCommandProxy(ShowCommandCommand cmdlet)
 {
     this.cmdlet = cmdlet;
     this.graphicalHostReflectionWrapper = GraphicalHostReflectionWrapper.GetGraphicalHostReflectionWrapper(cmdlet, "Microsoft.PowerShell.Commands.ShowCommandInternal.ShowCommandHelper");
 }