Export (0) Print
Expand All

FromUriAttribute Class

An attribute that specifies that an action parameter comes from the URI of the incoming HttpRequestMessage.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

public final class FromUriAttribute extends ModelBinderAttribute

The FromUriAttribute type exposes the following members.

  NameDescription
Public methodFromUriAttributeInitializes a new instance of the FromUriAttribute class.
Top

  NameDescription
Public propertyBinderTypeGets or sets the type of model binder. (Inherited from ModelBinderAttribute.)
Public propertyNameGets or sets the name to consider as the parameter name during model binding. (Inherited from ModelBinderAttribute.)
Public propertySuppressPrefixCheckGets or sets a value that specifies whether the prefix check should be suppressed. (Inherited from ModelBinderAttribute.)
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetBindingGets the binding for a parameter. (Inherited from ModelBinderAttribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetModelBinder Get the IModelBinder for this type. (Inherited from ModelBinderAttribute.)
Public methodGetModelBinderProviderGets the model binder provider. (Inherited from ModelBinderAttribute.)
Public methodGetType (Inherited from Object.)
Public methodGetValueProviderFactoriesGets the value provider factories for the model binder. (Overrides ModelBinderAttribute.GetValueProviderFactories(HttpConfiguration).)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate method_Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute.Invoke (Inherited from Attribute.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft