JavascriptBindingSettings Class |
Namespace: CefSharp.JavascriptBinding
The JavascriptBindingSettings type exposes the following members.
Name | Description | |
---|---|---|
JavascriptBindingSettings | Initializes a new instance of the JavascriptBindingSettings class |
Name | Description | |
---|---|---|
AlwaysInterceptAsynchronously |
When using an IAsyncMethodInterceptor
the InterceptAsync(FuncObject, Object, Object, String)
method is call for all methods (the default is to call InterceptAsync only for methods that return a Task).
This only applies when MethodInterceptor is of type IAsyncMethodInterceptor | |
JavascriptBindingApiEnabled |
The Javascript methods that CefSharp provides in relation to JavaScript Binding are
created using a Global (window) Object. Settings this property allows you to disable
the creation of this object. Features like EvaluateScriptAsPromiseAsync that rely on
the creation of this object will no longer function.
| |
JavascriptBindingApiGlobalObjectName |
The Javascript methods that CefSharp provides in relation to JavaScript Binding are
created using a Global (window) Object. Settings this property allows you to customise
the name of this object. If not specified then both cefSharp and CefSharp objects will
be created e.g. cefSharp.bindObjectAsync, CefSharp.BindObjectAsync.
If specified then your custom name will be used, if the name starts with a lowercase letter
then all the functions will be lowercase, e.g. myObjName.bindObjectAsync otherwise
the functions will start with a uppercase letter e.g. MyObjName.BindObjectAsync
| |
LegacyBindingEnabled |
Objects registered using Register(String, Object, Boolean, BindingOptions)
will be automatically bound when a V8Context is created. (Soon as the Javascript
context is created for a browser). This behaviour is like that seen with Javascript
Binding in version 57 and earlier.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |