BindingContextExtensions.GetOrCreateModelBinder Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém um fichário 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
Devoluções
Um binder modelo para o descritor de valor especificado.