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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.