Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add overloads for EvaluateScriptAsync to support methodName and args #1738

Merged
merged 2 commits into from
Jul 12, 2016
Merged

Add overloads for EvaluateScriptAsync to support methodName and args #1738

merged 2 commits into from
Jul 12, 2016

Conversation

PrinceOfEgypt
Copy link
Contributor

Added two overloads for EvaluateScriptAsync to provide the option to pass in methodName and args instead of the string representation of the Javascript. Two overloads were needed because EvaluateScriptAsync already used an optional parameter, so it wouldn't be possible to mix both optional parameters and params in the same signature without forcing the callers to always use named parameters.

@amaitland
Copy link
Member

@PrinceOfEgypt Thanks, will try to look at this sometime next week. In the mean time if you could fix up the minor type teh = the that would be great 👍

@PrinceOfEgypt
Copy link
Contributor Author

@amaitland done, typo has been corrected

@amaitland amaitland merged commit 652a09b into cefsharp:master Jul 12, 2016
amaitland pushed a commit that referenced this pull request Jul 12, 2016
…1738)

* Add overloads for EvaluateScriptAsync to support passing in methodName and args

* Fixing typo (teh => the)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants