Files
cefsharp/CefSharp/Event/JavascriptBindingEventArgs.cs
T
amaitland 8f7692ae6e JSB - Add JavascriptBindingCompleteEventArgs and config options to CefSharp.BindObjectAsync
CefSharp.BindObjectAsync can now take an optional config object as first param
Include additional information when binding complete
Add option for cefSharp.bindObjectAsync (starting with lowercase latters)
Add new syntax options - not entirely complete, no variant for the options object
Add ignore cache option
2018-04-27 16:40:39 +10:00

36 lines
1.1 KiB
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.
using System;
namespace CefSharp.Event
{
/// <summary>
/// Event arguments for the <see cref="IJavascriptObjectRepository.ResolveObject"/> event
/// </summary>
public class JavascriptBindingEventArgs : EventArgs
{
/// <summary>
/// The javascript object repository, used to register objects
/// </summary>
public IJavascriptObjectRepository ObjectRepository { get; private set; }
/// <summary>
/// Name of the object
/// </summary>
public string ObjectName { get; private set; }
/// <summary>
/// Constructor
/// </summary>
/// <param name="objectRepository">object repository</param>
/// <param name="name">object name</param>
public JavascriptBindingEventArgs(IJavascriptObjectRepository objectRepository, string name)
{
ObjectRepository = objectRepository;
ObjectName = name;
}
}
}