File: Primitives\WebProcessTerminatedEventArgs.cs
Web Access
Project: src\src\Core\src\Core.csproj (Microsoft.Maui)
namespace Microsoft.Maui
{
	public class WebProcessTerminatedEventArgs
	{
#if ANDROID
		internal WebProcessTerminatedEventArgs(Android.Views.View? sender, Android.Webkit.RenderProcessGoneDetail? renderProcessGoneDetail)
		{
			Sender = sender;
			RenderProcessGoneDetail = renderProcessGoneDetail;
		}
 
		public Android.Views.View? Sender { get; }
		public Android.Webkit.RenderProcessGoneDetail? RenderProcessGoneDetail { get; }
#elif IOS || MACCATALYST
		internal WebProcessTerminatedEventArgs(WebKit.WKWebView sender)
		{
			Sender = sender;
		}
 
		public WebKit.WKWebView Sender { get; }
#elif WINDOWS
		internal WebProcessTerminatedEventArgs(Web.WebView2.Core.CoreWebView2 sender, Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs coreWebView2ProcessFailedEventArgs)
		{
			Sender = sender;
			CoreWebView2ProcessFailedEventArgs = coreWebView2ProcessFailedEventArgs;
		}
 
		public Web.WebView2.Core.CoreWebView2 Sender { get; }
		public Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs CoreWebView2ProcessFailedEventArgs { get; }
#endif
	}
}