mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
Revery name change for TryGetMethod - seems slightly inconsistent so will need to be fixed.
This commit is contained in:
@@ -52,7 +52,7 @@ namespace CefSharp.Internals
|
||||
return false;
|
||||
}
|
||||
|
||||
var method = obj.Methods.FirstOrDefault(p => p.JavascriptName == name);
|
||||
var method = obj.Methods.FirstOrDefault(p => p.ManagedName == name);
|
||||
if (method == null)
|
||||
{
|
||||
throw new InvalidOperationException(string.Format("Method {0} not found on Object of Type {1}", name, obj.Value.GetType()));
|
||||
|
||||
Reference in New Issue
Block a user