GenericModelBinderProvider GenericModelBinderProvider GenericModelBinderProvider GenericModelBinderProvider Class

Definition

Gets a model binder for a generic type.

public ref class GenericModelBinderProvider sealed : System::Web::ModelBinding::ModelBinderProvider
public sealed class GenericModelBinderProvider : System.Web.ModelBinding.ModelBinderProvider
type GenericModelBinderProvider = class
    inherit ModelBinderProvider
Public NotInheritable Class GenericModelBinderProvider
Inherits ModelBinderProvider
Inheritance
GenericModelBinderProviderGenericModelBinderProviderGenericModelBinderProviderGenericModelBinderProvider

Constructors

GenericModelBinderProvider(Type, Func<Type[],IModelBinder>) GenericModelBinderProvider(Type, Func<Type[],IModelBinder>) GenericModelBinderProvider(Type, Func<Type[],IModelBinder>) GenericModelBinderProvider(Type, Func<Type[],IModelBinder>)

Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder factory.

GenericModelBinderProvider(Type, IModelBinder) GenericModelBinderProvider(Type, IModelBinder) GenericModelBinderProvider(Type, IModelBinder) GenericModelBinderProvider(Type, IModelBinder)

Initializes a new instance of the GenericModelBinderProvider by using the specified model type and model binder.

GenericModelBinderProvider(Type, Type) GenericModelBinderProvider(Type, Type) GenericModelBinderProvider(Type, Type) GenericModelBinderProvider(Type, Type)

Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder type.

Properties

ModelType ModelType ModelType ModelType

Gets the type of the model.

SuppressPrefixCheck SuppressPrefixCheck SuppressPrefixCheck SuppressPrefixCheck

Gets or sets a value that specifies whether the prefix check should be suppressed.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBinder(ModelBindingExecutionContext, ModelBindingContext) GetBinder(ModelBindingExecutionContext, ModelBindingContext) GetBinder(ModelBindingExecutionContext, ModelBindingContext) GetBinder(ModelBindingExecutionContext, ModelBindingContext)

Gets a model binder

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to