public static KnockoutTagBuilder <TModel> EditorFor <TModel>(this KnockoutContext <TModel> context, Expression <Func <TModel, object> > property, object additionalViewData = null, object htmlAttributes = null) { KnockoutTagBuilder <TModel> result = new KnockoutTagBuilder <TModel>(context, "div", null, null); if (property != null) { result.Value(property); var memberExpression = property.Body as MemberExpression; } return(result); }
protected override void ConfigureBinding(KnockoutTagBuilder <TModel> tagBuilder) { base.ConfigureBinding(tagBuilder); tagBuilder.Value(Binding); }