Export (0) Print
Expand All

FromODataUriAttribute Class

An implementation of ParameterBindingAttribute that can bind URI parameters using OData conventions.

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

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Parameter, Inherited = true, 
	AllowMultiple = false)]
public sealed class FromODataUriAttribute : ModelBinderAttribute

The FromODataUriAttribute type exposes the following members.

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.)

Public methodEquals (Inherited from Attribute.)
Public methodGetBindingGets the binding for a parameter. (Overrides ModelBinderAttribute.GetBinding(HttpParameterDescriptor).)
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 methodGetValueProviderFactories Gets the value providers that will be fed to the model binder. (Inherited from ModelBinderAttribute.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)

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