mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
ee563827ac
* Create RequestEventArgs.cs * Create RequestEventHandler * Update RequestEventArgs.cs corrected namespace * removed regions, splitted up classes per file * reformatted code * removed wrong class doc * deleted empty line * removed TODOs (moved them in pr comments) * adapted @amaitland 's pr notes * made code backwards compatible to c# < 6 * made code backwards compatible to c# < 6 ++ (moved default values for event args to ctor) * made code backwards compatible to c# < 6 ++ (added private setters to properties)
18 lines
599 B
C#
18 lines
599 B
C#
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
namespace CefSharp.Example.RequestEventHandler
|
|
{
|
|
public class OnRenderProcessTerminatedEventArgs : BaseRequestEventArgs
|
|
{
|
|
public OnRenderProcessTerminatedEventArgs(IWebBrowser browserControl, IBrowser browser, CefTerminationStatus status)
|
|
: base(browserControl, browser)
|
|
{
|
|
Status = status;
|
|
}
|
|
|
|
public CefTerminationStatus Status { get; private set; }
|
|
}
|
|
}
|