Пример #1
0
 /// <summary>
 /// Creates a new context object with the specified |settings| and optional |handler|.
 /// </summary>
 public CefRequestContext(CefRequestContextSettings settings, CefRequestContextHandler handler)
     : this(CefNativeApi.cef_request_context_create_context(
                (settings ?? throw new ArgumentNullException(nameof(settings))).GetNativeInstance(),
Пример #2
0
 /// <summary>
 /// Creates a new context object with the specified |settings|.
 /// </summary>
 public CefRequestContext(CefRequestContextSettings settings)
     : this(settings, null)
 {
 }