A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unosquare.github.io/embedio/api/EmbedIO.WebApi.QueryDataAttribute.html below:

Class QueryDataAttribute

Specifies that a parameter of a controller method will receive a of HTML form data, obtained by deserializing a request URL query.

The received collection will be read-only.

This class cannot be inherited.

Inheritance

QueryDataAttribute

Namespace: EmbedIO.WebApi Syntax
public sealed class QueryDataAttribute : Attribute, INonNullRequestDataAttribute<WebApiController, NameValueCollection>
Methods GetRequestDataAsync(WebApiController, String)

Asynchronously obtains data from a controller's context.

Declaration
public Task<NameValueCollection> GetRequestDataAsync(WebApiController controller, string parameterName)
Parameters Type Name Description WebApiController controller String parameterName

The name of the parameter that has to receive the data.

Returns Type Description Task<NameValueCollection>

a whose result will be the data to pass as a parameter to a controller method.

Implements See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4