Expose CoreWebView2 initialization logic

This commit is contained in:
2025-08-03 11:12:36 +02:00
parent 103ee09b0e
commit ca9e682d04
5 changed files with 104 additions and 3 deletions
@@ -0,0 +1,9 @@
using Microsoft.Web.WebView2.Core;
using System;
namespace WpfExtended.Blazor.Exceptions;
public sealed class CoreWebView2Exception(CoreWebView2ProcessFailedEventArgs args, string message, Exception? innerException = default) : Exception(message, innerException)
{
public CoreWebView2ProcessFailedEventArgs Args { get; } = args ?? throw new ArgumentNullException(nameof(args));
}