Method Bind
Bind<T, TContext>(Binder<TContext>, Expression<Func<TContext, T>>)
Declaration
public static PropertyRuleBuilder<T, TContext> Bind<T, TContext>(this Binder<TContext> binder, Expression<Func<TContext, T>> sourceExpression) where TContext : class
Parameters
| Type | Name | Description |
|---|---|---|
| Binder<TContext> | binder | |
| Expression<Func<TContext, T>> | sourceExpression |
Returns
| Type | Description |
|---|---|
| PropertyRuleBuilder<T, TContext> |
Type Parameters
| Name | Description |
|---|---|
| T | |
| TContext |