Click or drag to resize

IJavascriptObjectRepository Interface

Version 97.1.60
Javascript object repository, object are registered for binding One repository per ChromiumWebBrowser instance

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 97.1.60.0 (97.1.60.0)
Syntax
public interface IJavascriptObjectRepository : IDisposable

The IJavascriptObjectRepository type exposes the following members.

Properties
  NameDescription
Public propertyHasBoundObjects
Has bound objects
Public propertyNameConverter
Converted .Net method/property/field names to the name that will be used in Javasript. Used for when .Net naming conventions differ from Javascript naming conventions.
Public propertySettings
Javascript Binding Settings
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodIsBound
Is object bound
Public methodRegister
Public methodUnRegister
UnRegister a bound object from the repository. If you unregister an object that is currently bound in JavaScript then the method/property calls will fail.
Public methodUnRegisterAll
UnRegister all the currently bound objects from the repository. If you unregister an object that is currently bound in JavaScript then the method/property calls will fail.
Top
Events
  NameDescription
Public eventObjectBoundInJavascript
Event handler is triggered when a object has been successfully bound in javascript
Public eventObjectsBoundInJavascript
Event handler is triggered when multiple objects has been successfully bound in javascript, this event only contains the names of objects successfully bound.
Public eventResolveObject
Event handler is called when an object with a given name is requested for binding and is not yet registered with the repository. Use ObjectRepository to register objects (using
Top
See Also