ModelBinder<TModel>.BindMemberFromValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BindMemberFromValue<TValue>(Expression<Func<TModel,TValue>>, IValueDescriptor) | |
BindMemberFromValue<TValue>(Expression<Func<TModel,TValue>>, Func<BindingContext,TValue>) |
BindMemberFromValue<TValue>(Expression<Func<TModel,TValue>>, IValueDescriptor)
public:
generic <typename TValue>
void BindMemberFromValue(System::Linq::Expressions::Expression<Func<TModel, TValue> ^> ^ property, System::CommandLine::Binding::IValueDescriptor ^ valueDescriptor);
public void BindMemberFromValue<TValue>(System.Linq.Expressions.Expression<Func<TModel,TValue>> property, System.CommandLine.Binding.IValueDescriptor valueDescriptor);
override this.BindMemberFromValue : System.Linq.Expressions.Expression<Func<'Model, 'Value>> * System.CommandLine.Binding.IValueDescriptor -> unit
Public Sub BindMemberFromValue(Of TValue) (property As Expression(Of Func(Of TModel, TValue)), valueDescriptor As IValueDescriptor)
Type Parameters
- TValue
Parameters
- property
- Expression<Func<TModel,TValue>>
- valueDescriptor
- IValueDescriptor
Applies to
BindMemberFromValue<TValue>(Expression<Func<TModel,TValue>>, Func<BindingContext,TValue>)
public:
generic <typename TValue>
void BindMemberFromValue(System::Linq::Expressions::Expression<Func<TModel, TValue> ^> ^ property, Func<System::CommandLine::Binding::BindingContext ^, TValue> ^ getValue);
public void BindMemberFromValue<TValue>(System.Linq.Expressions.Expression<Func<TModel,TValue>> property, Func<System.CommandLine.Binding.BindingContext?,TValue> getValue);
override this.BindMemberFromValue : System.Linq.Expressions.Expression<Func<'Model, 'Value>> * Func<System.CommandLine.Binding.BindingContext, 'Value> -> unit
Public Sub BindMemberFromValue(Of TValue) (property As Expression(Of Func(Of TModel, TValue)), getValue As Func(Of BindingContext, TValue))
Type Parameters
- TValue
Parameters
- property
- Expression<Func<TModel,TValue>>
- getValue
- Func<BindingContext,TValue>
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.