Exemple #1
0
 public ForumPresenter()
 {
     _boardService       = new BoardService();
     _forumRepository    = new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector         = new Redirector();
     _webContext         = new WebContext();
 }
Exemple #2
0
 public ForumPresenter()
 {
     _boardService = ObjectFactory.GetInstance<IBoardService>();
     _forumRepository =new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
 }
Exemple #3
0
 public ForumPresenter()
 {
     _boardService = new BoardService();
     _forumRepository =new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
 }
Exemple #4
0
 public ShowViewPostUCPresenter()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository = new BoardForumRepository();
     _postRepository = new BoardPostRepository();
     _webContext = new WebContext();
     Posts = new List<BoardPost>();
     forum = new BoardForum();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
 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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #11
0
 public BoardService()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository = new BoardForumRepository();
 }
Exemple #12
0
 public BoardService()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository    = new BoardForumRepository();
 }