ParameterBinder.BindModelAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
BindModelAsync(ActionContext, IValueProvider, ParameterDescriptor) |
사용되지 않음.
이 메서드 오버로드는 사용되지 않으며 이후 버전에서 제거됩니다. BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object)를 대신 사용하는 것이 좋습니다. 에서 지정 |
BindModelAsync(ActionContext, IValueProvider, ParameterDescriptor, Object) |
사용되지 않음.
이 메서드 오버로드는 사용되지 않으며 이후 버전에서 제거됩니다. BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object)를 대신 사용하는 것이 좋습니다.
를 초기 값으로 사용하여 |
BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object) |
를 초기 값으로 사용하여 |
BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object, Object) |
를 초기 값으로 사용하여 |
BindModelAsync(ActionContext, IValueProvider, ParameterDescriptor)
- Source:
- ParameterBinder.cs
- Source:
- ParameterBinder.cs
주의
This method overload is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes IModelBinder, ModelMetadata and Object parameters.
이 메서드 오버로드는 사용되지 않으며 이후 버전에서 제거됩니다. BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object)를 대신 사용하는 것이 좋습니다.
에서 지정 parameter
한 모델을 초기화하고 바인딩합니다.
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult> ^ BindModelAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider ^ valueProvider, Microsoft::AspNetCore::Mvc::Abstractions::ParameterDescriptor ^ parameter);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter);
[System.Obsolete("This method overload is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes IModelBinder, ModelMetadata and Object parameters.")]
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter);
member this.BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
[<System.Obsolete("This method overload is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes IModelBinder, ModelMetadata and Object parameters.")>]
member this.BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
Public Function BindModelAsync (actionContext As ActionContext, valueProvider As IValueProvider, parameter As ParameterDescriptor) As Task(Of ModelBindingResult)
매개 변수
- actionContext
- ActionContext
- valueProvider
- IValueProvider
- parameter
- ParameterDescriptor
반환
모델 바인딩의 결과입니다.
- 특성
적용 대상
BindModelAsync(ActionContext, IValueProvider, ParameterDescriptor, Object)
- Source:
- ParameterBinder.cs
- Source:
- ParameterBinder.cs
주의
This method overload is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes IModelBinder and ModelMetadata parameters.
이 메서드 오버로드는 사용되지 않으며 이후 버전에서 제거됩니다. BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object)를 대신 사용하는 것이 좋습니다.
를 초기 값으로 사용하여 value
지정한 parameter
모델을 바인딩합니다.
public:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult> ^ BindModelAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider ^ valueProvider, Microsoft::AspNetCore::Mvc::Abstractions::ParameterDescriptor ^ parameter, System::Object ^ value);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, object value);
[System.Obsolete("This method overload is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes IModelBinder and ModelMetadata parameters.")]
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, object value);
abstract member BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
override this.BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
[<System.Obsolete("This method overload is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes IModelBinder and ModelMetadata parameters.")>]
abstract member BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
override this.BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
Public Overridable Function BindModelAsync (actionContext As ActionContext, valueProvider As IValueProvider, parameter As ParameterDescriptor, value As Object) As Task(Of ModelBindingResult)
매개 변수
- actionContext
- ActionContext
- valueProvider
- IValueProvider
- parameter
- ParameterDescriptor
- value
- Object
초기 모델 값입니다.
반환
모델 바인딩의 결과입니다.
- 특성
적용 대상
BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object)
- Source:
- ParameterBinder.cs
- Source:
- ParameterBinder.cs
- Source:
- ParameterBinder.cs
를 초기 값으로 사용하여 value
지정한 parameter
모델을 바인딩합니다.
public:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult> ^ BindModelAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ modelBinder, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider ^ valueProvider, Microsoft::AspNetCore::Mvc::Abstractions::ParameterDescriptor ^ parameter, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::Object ^ value);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder modelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object value);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder modelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object? value);
abstract member BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
override this.BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
Public Overridable Function BindModelAsync (actionContext As ActionContext, modelBinder As IModelBinder, valueProvider As IValueProvider, parameter As ParameterDescriptor, metadata As ModelMetadata, value As Object) As Task(Of ModelBindingResult)
매개 변수
- actionContext
- ActionContext
- modelBinder
- IModelBinder
- valueProvider
- IValueProvider
- parameter
- ParameterDescriptor
- metadata
- ModelMetadata
- value
- Object
초기 모델 값입니다.
반환
모델 바인딩의 결과입니다.
적용 대상
BindModelAsync(ActionContext, IModelBinder, IValueProvider, ParameterDescriptor, ModelMetadata, Object, Object)
- Source:
- ParameterBinder.cs
를 초기 값으로 사용하여 value
지정한 parameter
모델을 바인딩합니다.
public:
virtual System::Threading::Tasks::ValueTask<Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult> BindModelAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ modelBinder, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider ^ valueProvider, Microsoft::AspNetCore::Mvc::Abstractions::ParameterDescriptor ^ parameter, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::Object ^ value, System::Object ^ container);
public virtual System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder modelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object value, object container);
public virtual System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult> BindModelAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder modelBinder, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider valueProvider, Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor parameter, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object? value, object? container);
abstract member BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * obj * obj -> System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
override this.BindModelAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder * Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider * Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * obj * obj -> System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
Public Overridable Function BindModelAsync (actionContext As ActionContext, modelBinder As IModelBinder, valueProvider As IValueProvider, parameter As ParameterDescriptor, metadata As ModelMetadata, value As Object, container As Object) As ValueTask(Of ModelBindingResult)
매개 변수
- actionContext
- ActionContext
- modelBinder
- IModelBinder
- valueProvider
- IValueProvider
- parameter
- ParameterDescriptor
- metadata
- ModelMetadata
- value
- Object
초기 모델 값입니다.
- container
- Object
모델의 컨테이너입니다.
반환
모델 바인딩의 결과입니다.