IBrowserConvertJsNameHandler Property |
Namespace: DotNetBrowser.Browser
IHandler<ConvertJsNameParameters, ConvertJsNameResponse> ConvertJsNameHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IBrowser has already been disposed. |
The handler should be configured before registering .NET objects on the JavaScript side.
The ConvertJsNameParameters object contains information about the MemberInfo of the .NET object.
Use the NoConversion method to use the member name as is.
Use the CamelCase method to convert the first letter of the name to the lower case.
Use the PascalCase method to convert the first letter of the name to the upper case.
Use the ConvertTo(String) method for customizing the name.