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