Language

BindingContextExtensions.GetOrCreateModelBinder メソッド

定義

指定した値記述子のモデル バインダーを取得します。

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

パラメーター

bindingContext
BindingContext
valueDescriptor
IValueDescriptor

返品

指定した値記述子のモデル バインダー。

適用対象