示例#1
0
 /// <summary>
 /// Creates an application object with the given process.
 /// </summary>
 /// <param name="process">The process, NOTE: the process is disposed with this instance.</param>
 /// <param name="isStoreApp">Flag to define if it's a store app or not.</param>
 private Application(ProcessReference process, bool isStoreApp = false)
 {
     this.processReference = process;
     this.IsStoreApp       = isStoreApp;
 }
示例#2
0
 /// <summary>
 /// Creates an application object with the given process.
 /// </summary>
 /// <param name="process">The process, NOTE: the process is disposed with this instance.</param>
 /// <param name="isStoreApp">Flag to define if it's a store app or not.</param>
 private Application(ProcessReference process, bool isStoreApp = false)
 {
     this.processReference = process;
     this.IsStoreApp       = isStoreApp;
     this.Automation       = new UIA3Automation();
 }