Esempio n. 1
0
 /// <summary>
 /// Construct an instance of this PSHost implementation. Keep
 /// a reference to the hosting application object so it can
 /// be informed of when to exit.
 /// </summary>
 /// <param name="program">A reference to the host application object.</param>
 public MyHost(Host02 program)
 {
     this.program = program;
 }
Esempio n. 2
0
 /// <summary>
 /// Construct an instance of this PSHost implementation. Keep
 /// a reference to the hosting application object so it can
 /// be informed of when to exit.
 /// </summary>
 /// <param name="program">A reference to the host application object.</param>
 public MyHost(Host02 program)
 {
     this.program = program;
 }