src/MvcContrib.FluentHtml/ViewModelContainerExtensions.cs
/// <summary>
/// Generate an HTML input element of type 'time' and set its value from the ViewModel based on the expression provided.
/// </summary>
/// <param name="view">The view.</param>
/// <param name="expression">Expression indicating the ViewModel member associated with the element.</param>
Generate an HTML input element of type 'time' and set its value from the ViewModel based on the expression provided.
Generate an HTML input element of type ' time ' and set its value from the ViewModel based on the expression provided .
public static TimePicker TimePicker<T>(this IViewModelContainer<T> view, Expression<Func<T, object>> expression) where T : class
		{
            return new TimePicker(expression.GetNameFor(view), expression.GetMemberExpression(), view.GetBehaviors())
				.Value(expression.GetValueFrom(view.ViewModel));
		}
public static TimePicker TimePicker < T > ( this IViewModelContainer < T > view , Expression < Func < T , object > > expression ) where T : class { return new TimePicker ( expression . GetNameFor ( view ) , expression . GetMemberExpression ( ) , view . GetBehaviors ( ) ) . Value ( expression . GetValueFrom ( view . ViewModel ) ) ; }
Generate an HTML input element of type 'time' and set its value from the ViewModel based on the expression provided.
Generate an HTML input element of type ' time ' and set its value from the ViewModel based on the expression provided .
IViewModelContainer<T>
this
expression
Expression<Func<T, object>>
Expression indicating the ViewModel member associated with the element.
Expression indicating the ViewModel member associated with the element .
view
None