예제 #1
0
 /// <summary>
 /// Initializes a new instance of the MyHost class. Keep
 /// a reference to the host application object so that it
 /// can be informed of when to exit.
 /// </summary>
 /// <param name="program">
 /// A reference to the host application object.
 /// </param>
 public CustomHost()
 {
     CustomUI = new CustomerPSHostUserInterface();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the MyHost class. Keep
 /// a reference to the host application object so that it 
 /// can be informed of when to exit.
 /// </summary>
 /// <param name="program">
 /// A reference to the host application object.
 /// </param>
 public CustomHost()
 {
     CustomUI = new CustomerPSHostUserInterface();
 }