Επεξεργασία

Κοινή χρήση μέσω


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
GenericModelBinderProvider

Constructors

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)

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

GenericModelBinderProvider(Type, Type)

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

Properties

ModelType

Gets the type of the model.

SuppressPrefixCheck

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

Methods

Equals(Object)

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

(Inherited from Object)
GetBinder(ModelBindingExecutionContext, ModelBindingContext)

Gets a model binder.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to