Esempio n. 1
0
 /// <summary>
 /// Create a new BrowserWindow instance.
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public BrowserWindow Create(BrowserWindowConstructorOptions options)
 {
     if (options == null)
     {
         options = new BrowserWindowConstructorOptions();
     }
     return(API.ApplyConstructor <BrowserWindow>(options));
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new BrowserWindow instance.
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public BrowserWindow Create(string options)
 {
     return(Create(BrowserWindowConstructorOptions.Parse(options)));
 }