Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NvdaDriver"/> class.
 /// </summary>
 /// <param name="nvdaDriverOptions">The nvda driver options object, which you can modify in your own method.</param>
 public NvdaDriver(Action <NvdaDriverOptions> nvdaDriverOptions)
 {
     CheckWindowsOS();
     _nvdaDriverOptions = new NvdaDriverOptions();
     nvdaDriverOptions?.Invoke(_nvdaDriverOptions);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NvdaDriver"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public NvdaDriver(NvdaDriverOptions options)
 {
     CheckWindowsOS();
     _nvdaDriverOptions = options;
 }