public MainWindowPresenter(MainWindowViewModel viewModel, IPageCreator pageCreator) { _viewModel = viewModel; _pageCreator = pageCreator; BuildViewModel(); }
public HomeController(IOrderManager orderManager, IPageCreator pageCreator, IMailReporter reporter) { _orderManager = orderManager; _pageCreator = pageCreator; _reporter = reporter; _itemsPerPage = 10; }
public ReportController(IPayItemSubcategoriesHelper payItemSubcategoriesHelper, IReportControllerHelper reportControllerHelper, IReportModelCreator reportModelCreator, IPageCreator pageCreator) { _payItemSubcategoriesHelper = payItemSubcategoriesHelper; _reportControllerHelper = reportControllerHelper; _reportModelCreator = reportModelCreator; _pageCreator = pageCreator; }
public IPageCreator GetPageCreator() { lock (_lock) { if (_pageCreator == null) { _pageCreator = new PageCreator(GetMainService(), _synchronizationContext); } return(_pageCreator); } }
public static Page <MvcBootstrapHelper <TModel> > Page <TModel>(this IPageCreator <MvcBootstrapHelper <TModel> > creator, string text, string actionName, string controllerName, object routeValues = null) { return(creator.Page(text, null).SetAction(actionName, controllerName, routeValues)); }
// Page public static Page <THelper> Page <THelper>(this IPageCreator <THelper> creator, string text, string href = "#") where THelper : BootstrapHelper <THelper> { return(new Page <THelper>(creator).SetHref(href).SetText(text)); }