// Copyright © 2018 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. using System; namespace CefSharp.Event { /// /// Event arguments for the event /// public class JavascriptBindingEventArgs : EventArgs { /// /// The javascript object repository, used to register objects /// public IJavascriptObjectRepository ObjectRepository { get; private set; } /// /// Name of the object /// public string ObjectName { get; private set; } /// /// URL of frame the call originated from. /// public string Url { get; private set; } /// /// Constructor /// /// object repository /// URL of frame the call originated from. /// object name public JavascriptBindingEventArgs(IJavascriptObjectRepository objectRepository, string url, string name) { ObjectRepository = objectRepository; ObjectName = name; Url = url; } } }