BindingContextExtensions.GetOrCreateModelBinder Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém um associador de modelo para o descritor de valor especificado.
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::NamingConventionBinder::ModelBinder ^ GetOrCreateModelBinder(System::CommandLine::Binding::BindingContext ^ bindingContext, System::CommandLine::Binding::IValueDescriptor ^ valueDescriptor);
public static System.CommandLine.NamingConventionBinder.ModelBinder GetOrCreateModelBinder(this System.CommandLine.Binding.BindingContext bindingContext, System.CommandLine.Binding.IValueDescriptor valueDescriptor);
static member GetOrCreateModelBinder : System.CommandLine.Binding.BindingContext * System.CommandLine.Binding.IValueDescriptor -> System.CommandLine.NamingConventionBinder.ModelBinder
<Extension()>
Public Function GetOrCreateModelBinder (bindingContext As BindingContext, valueDescriptor As IValueDescriptor) As ModelBinder
Parâmetros
- bindingContext
- BindingContext
- valueDescriptor
- IValueDescriptor
Retornos
Um associador de modelo para o descritor de valor especificado.