From b628199ee9cc9e8f1a3abe636183dbb9bae59766 Mon Sep 17 00:00:00 2001 From: Chris Bardsley Date: Wed, 23 Mar 2016 21:17:47 -0700 Subject: [PATCH 1/2] Fix for C# paramArray and refactor on arguments mismatch --- CefSharp.Example/Resources/Home.html | 8 +++++ .../ScriptedMethodsBoundObject.cs | 22 ++++++++++++ CefSharp/CefSharp.csproj | 1 + CefSharp/Internals/JavascriptMethod.cs | 4 +++ .../Internals/JavascriptObjectRepository.cs | 36 ++++++++++++++++--- CefSharp/Internals/MethodParameter.cs | 20 +++++++++++ NuGet.config | 1 + 7 files changed, 87 insertions(+), 5 deletions(-) create mode 100644 CefSharp/Internals/MethodParameter.cs diff --git a/CefSharp.Example/Resources/Home.html b/CefSharp.Example/Resources/Home.html index 0d78795c70..dd8113ee32 100644 --- a/CefSharp.Example/Resources/Home.html +++ b/CefSharp.Example/Resources/Home.html @@ -351,6 +351,14 @@

JavaScript integration

objects.

Hooks by which you can modify and/or override certain features of the web browsing

+

+ A fix to allow params to be used by the .NET methods called by the javascript
+ + + + + +