// 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.
using CefSharp;
using System;
using System.Collections.Generic;
namespace CefSharp.Event
{
///
/// Event arguments for the and
/// events
///
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; }
public JavascriptBindingEventArgs(IJavascriptObjectRepository objectRepository, string name)
{
ObjectRepository = objectRepository;
ObjectName = name;
}
}
}