Exemple #1
0
 public TComponent GetComponent <TComponent>()
     where TComponent : UiComponent, new()
 {
     ThrowIfComponentNotCreatedCorrectly();
     return(ComponentFactory.CreatePage <TComponent>());
 }
Exemple #2
0
 public THtmlControl HtmlControlFor <THtmlControl>(string controlId, TimeSpan maxWait = default(TimeSpan))
     where THtmlControl : HTMLControl, new()
 {
     ThrowIfComponentNotCreatedCorrectly();
     return(ComponentFactory.HtmlControlFor <THtmlControl>(controlId, maxWait));
 }
 protected IPageWriter <TModel> Input()
 {
     return(ComponentFactory.CreatePageWriter <TModel>());
 }
 protected THtmlControl HtmlControlFor <THtmlControl>(Expression <Func <TModel, Object> > propertySelector, TimeSpan maxWait = default(TimeSpan))
     where THtmlControl : HTMLControl, new()
 {
     return(ComponentFactory.HtmlControlFor <THtmlControl>(propertySelector, maxWait));
 }
 protected IPageReader <TModel> Read()
 {
     return(ComponentFactory.CreatePageReader <TModel>());
 }