Ejemplo n.º 1
0
 public ForumPresenter()
 {
     _boardService       = new BoardService();
     _forumRepository    = new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector         = new Redirector();
     _webContext         = new WebContext();
 }
Ejemplo n.º 2
0
 public ForumPresenter()
 {
     _boardService = ObjectFactory.GetInstance<IBoardService>();
     _forumRepository =new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
 }
Ejemplo n.º 3
0
 public ForumPresenter()
 {
     _boardService = new BoardService();
     _forumRepository =new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
 }
Ejemplo n.º 4
0
 public ShowViewPostUCPresenter()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository = new BoardForumRepository();
     _postRepository = new BoardPostRepository();
     _webContext = new WebContext();
     Posts = new List<BoardPost>();
     forum = new BoardForum();
 }
Ejemplo n.º 5
0
 public PostForumPostPresenter()
 {
     _postRepository     = new BoardPostRepository();
     _forumRepository    = new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector         = new Redirector();
     _webContext         = new WebContext();
     _alertService       = new AlertService();
     _groupRepository    = new GroupRepository();
 }
Ejemplo n.º 6
0
 public PostForumPostPresenter()
 {
     _postRepository = new BoardPostRepository();
     _forumRepository = new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
     _alertService =new AlertService();
     _groupRepository = new GroupRepository();
 }
Ejemplo n.º 7
0
 public ViewGroupPresenter()
 {
     _groupRepository         = new GroupRepository();
     _webContext              = new WebContext();
     _redirector              = new Redirector();
     _boardForumRepository    = new BoardForumRepository();
     _boardCategoryRepository = new BoardCategoryRepository();
     _groupMemberRepository   = new GroupMemberRepository();
     _groupService            = new GroupService();
     _boardPostRepository     = new BoardPostRepository();
 }
Ejemplo n.º 8
0
 public ViewGroupForumPostPresenter()
 {
     _groupRepository = new GroupRepository();
     _webContext = new WebContext();
     _redirector = new Redirector();
     _boardForumRepository = new BoardForumRepository();
     _boardCategoryRepository = new BoardCategoryRepository();
     _groupMemberRepository = new GroupMemberRepository();
     _groupService = new GroupService();
     _boardPostRepository = new BoardPostRepository();
 }
Ejemplo n.º 9
0
 public void Init(HttpApplication context)
 {
     context.PostResolveRequestCache += new EventHandler(Application_PostResolveRequestCache);
     _accountRepository  = new AccountRepository();
     _blogRepository     = new BlogRepository();
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository    = new BoardForumRepository();
     _postRepository     = new BoardPostRepository();
     _webContext         = new WebContext();
     _groupRepository    = new GroupRepository();
 }
Ejemplo n.º 10
0
 public void Init(HttpApplication context)
 {
     context.PostResolveRequestCache += new EventHandler(Application_PostResolveRequestCache);
     _accountRepository = new AccountRepository();
     _blogRepository = new BlogRepository();
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository = new BoardForumRepository();
     _postRepository = new BoardPostRepository();
     _webContext = new WebContext();
     _groupRepository = new GroupRepository();
 }
Ejemplo n.º 11
0
 public BoardService()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository = new BoardForumRepository();
 }
Ejemplo n.º 12
0
 public BoardService()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository    = new BoardForumRepository();
 }