/// <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; }
/// <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(); }