Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Possibility to specify a method parameter name as it will be referred to by JsonRpc (with unit test)#58

Closed
rommar wants to merge 2 commits into
Astn:masterAstn/JSON-RPC.NET:masterfrom
rommar:param_attributesrommar/JSON-RPC.NET:param_attributesCopy head branch name to clipboard
Closed

Possibility to specify a method parameter name as it will be referred to by JsonRpc (with unit test)#58
rommar wants to merge 2 commits into
Astn:masterAstn/JSON-RPC.NET:masterfrom
rommar:param_attributesrommar/JSON-RPC.NET:param_attributesCopy head branch name to clipboard

Conversation

@rommar

@rommar rommar commented Mar 10, 2016

Copy link
Copy Markdown
Contributor

Hello,

This is basically the same as my another pull request to support custom parameter names (#51) but with unit test added.

…default constructed).

This will work the same way as with no attribute specified.
@rommar

rommar commented Mar 11, 2016

Copy link
Copy Markdown
Contributor Author

I added few changes to support usage of JsonRpcParam attribute with no specific parameter name:

[JsonRpcMethod]
private bool Method([JsonRpcParam] string arg)
{
    ...
}

That doesn't make much sense to use it like this, but mainly serves the purpose of having similar style with JsonRpcMethod attribute.

@Astn

Astn commented Nov 6, 2016

Copy link
Copy Markdown
Owner

I've pulled these changes into #73 as I was unable to merge this due to conflicts.

@Astn Astn closed this Nov 6, 2016
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.