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>>, Symbol) | |
BindMemberFromValue<TValue>(Expression<Func<TModel,TValue>>, Func<BindingContext,TValue>) |
BindMemberFromValue<TValue>(Expression<Func<TModel,TValue>>, Symbol)
- Source:
- ModelBinder%7BT%7D.cs
public:
generic <typename TValue>
void BindMemberFromValue(System::Linq::Expressions::Expression<Func<TModel, TValue> ^> ^ property, System::CommandLine::Symbol ^ symbol);
public void BindMemberFromValue<TValue>(System.Linq.Expressions.Expression<Func<TModel,TValue>> property, System.CommandLine.Symbol symbol);
override this.BindMemberFromValue : System.Linq.Expressions.Expression<Func<'Model, 'Value>> * System.CommandLine.Symbol -> unit
Public Sub BindMemberFromValue(Of TValue) (property As Expression(Of Func(Of TModel, TValue)), symbol As Symbol)
Type Parameters
- TValue
Parameters
- property
- Expression<Func<TModel,TValue>>
- symbol
- Symbol
Applies to
BindMemberFromValue<TValue>(Expression<Func<TModel,TValue>>, Func<BindingContext,TValue>)
- Source:
- ModelBinder%7BT%7D.cs
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>