Skip to content

Adds support for FromUri named parameters#12

Open
siimv wants to merge 2 commits intopmhsfelix:masterfrom
siimv:named-parameter
Open

Adds support for FromUri named parameters#12
siimv wants to merge 2 commits intopmhsfelix:masterfrom
siimv:named-parameter

Conversation

@siimv
Copy link
Copy Markdown

@siimv siimv commented May 25, 2015

I added simple support for decorating complex objects with FromUri and assigning it a custom name so it would behave like a prefix.

It is useful in cases where some actions takes multiple arguments of the same type.
For example:

SomeAction(int id, [FromUri(Name="firstPager")]Pager first, [FromUri(Name="secondPager")]Pager second)

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.

1 participant