Class FromUriAttribute
An attribute that specifies that an action parameter comes from the URI of the incoming HttpRequestMessage.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
public sealed class FromUriAttribute : ModelBinderAttribute
- Inheritance
-
FromUriAttribute
- Inherited Members
Constructors
FromUriAttribute()
Initializes a new instance of the FromUriAttribute class.
public FromUriAttribute()
Methods
GetValueProviderFactories(HttpConfiguration)
Gets the value provider factories for the model binder.
public override IEnumerable<ValueProviderFactory> GetValueProviderFactories(HttpConfiguration configuration)
Parameters
configuration
HttpConfigurationThe configuration.
Returns
- IEnumerable<ValueProviderFactory>
A collection of ValueProviderFactory objects.