Beispiel #1
0
 public FluentField(FluentForm <TModel> fluentForm, MvcWebApp webApp, Expression <Func <TModel, TProp> > property, IWebElement webElement)
 {
     _property  = property;
     FluentForm = fluentForm;
     WebApp     = webApp;
     Field      = webElement;
 }
Beispiel #2
0
 public FluentField(FluentForm <TModel> fluentForm, MvcWebApp webApp, Expression <Func <TModel, TProp> > property)
 {
     _property  = property;
     FluentForm = fluentForm;
     WebApp     = webApp;
     Field      = webApp.FindElementByExpressionUsingEditorConvention(property);
 }
Beispiel #3
0
 public FluentField(FluentForm <T> fluentForm, MvcWebApp webApp, Expression <Func <T, TProp> > property)
 {
     FluentForm = fluentForm;
     WebApp     = webApp;
     Field      = webApp.FindElementByExpression(property);
 }