ModelBinderProviderCollection.RegisterBinderForGenericType 메서드

정의

제네릭 형식에 대한 컬렉션에 모델 바인더 공급자를 추가합니다.

오버로드

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

지정된 모델 형식 및 모델 바인더 팩터리를 사용하여 제네릭 형식에 대한 컬렉션에 모델 바인더를 추가합니다.

RegisterBinderForGenericType(Type, Type)

지정된 모델 형식 및 모델 바인더 형식을 사용하여 제네릭 형식에 대한 컬렉션에 모델 바인더 공급자를 추가합니다.

RegisterBinderForGenericType(Type, IModelBinder)

지정된 모델 형식 및 모델 바인더를 사용하여 제네릭 형식에 대한 컬렉션에 모델 바인더 공급자를 추가합니다.

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

지정된 모델 형식 및 모델 바인더 팩터리를 사용하여 제네릭 형식에 대한 컬렉션에 모델 바인더를 추가합니다.

public:
 void RegisterBinderForGenericType(Type ^ modelType, Func<cli::array <Type ^> ^, System::Web::ModelBinding::IModelBinder ^> ^ modelBinderFactory);
public void RegisterBinderForGenericType (Type modelType, Func<Type[],System.Web.ModelBinding.IModelBinder> modelBinderFactory);
member this.RegisterBinderForGenericType : Type * Func<Type[], System.Web.ModelBinding.IModelBinder> -> unit
Public Sub RegisterBinderForGenericType (modelType As Type, modelBinderFactory As Func(Of Type(), IModelBinder))

매개 변수

modelType
Type

모델 형식입니다.

modelBinderFactory
Func<Type[],IModelBinder>

모델 바인더 팩터리입니다.

적용 대상

RegisterBinderForGenericType(Type, Type)

지정된 모델 형식 및 모델 바인더 형식을 사용하여 제네릭 형식에 대한 컬렉션에 모델 바인더 공급자를 추가합니다.

public:
 void RegisterBinderForGenericType(Type ^ modelType, Type ^ modelBinderType);
public void RegisterBinderForGenericType (Type modelType, Type modelBinderType);
member this.RegisterBinderForGenericType : Type * Type -> unit
Public Sub RegisterBinderForGenericType (modelType As Type, modelBinderType As Type)

매개 변수

modelType
Type

모델 형식입니다.

modelBinderType
Type

모델 바인더 형식입니다.

적용 대상

RegisterBinderForGenericType(Type, IModelBinder)

지정된 모델 형식 및 모델 바인더를 사용하여 제네릭 형식에 대한 컬렉션에 모델 바인더 공급자를 추가합니다.

public:
 void RegisterBinderForGenericType(Type ^ modelType, System::Web::ModelBinding::IModelBinder ^ modelBinder);
public void RegisterBinderForGenericType (Type modelType, System.Web.ModelBinding.IModelBinder modelBinder);
member this.RegisterBinderForGenericType : Type * System.Web.ModelBinding.IModelBinder -> unit
Public Sub RegisterBinderForGenericType (modelType As Type, modelBinder As IModelBinder)

매개 변수

modelType
Type

모델 형식입니다.

modelBinder
IModelBinder

모델 바인더입니다.

적용 대상