mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +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)
19 lines
606 B
C#
19 lines
606 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 abstract class BaseRequestEventArgs : System.EventArgs
|
|
{
|
|
protected BaseRequestEventArgs(IWebBrowser browserControl, IBrowser browser)
|
|
{
|
|
BrowserControl = browserControl;
|
|
Browser = browser;
|
|
}
|
|
|
|
public IWebBrowser BrowserControl { get; private set; }
|
|
public IBrowser Browser { get; private set; }
|
|
}
|
|
}
|