コード例 #1
0
ファイル: ForumPresenter.cs プロジェクト: ngocpq/MHX2
 public ForumPresenter()
 {
     _boardService       = new BoardService();
     _forumRepository    = new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector         = new Redirector();
     _webContext         = new WebContext();
 }
コード例 #2
0
ファイル: ForumPresenter.cs プロジェクト: SPKT/MHX2
 public ForumPresenter()
 {
     _boardService = ObjectFactory.GetInstance<IBoardService>();
     _forumRepository =new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
 }
コード例 #3
0
ファイル: ForumPresenter.cs プロジェクト: ngocpq/MHX2
 public ForumPresenter()
 {
     _boardService = new BoardService();
     _forumRepository =new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
 }
コード例 #4
0
ファイル: ShowViewPostUCPresenter.cs プロジェクト: SPKT/MHX2
 public ShowViewPostUCPresenter()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository = new BoardForumRepository();
     _postRepository = new BoardPostRepository();
     _webContext = new WebContext();
     Posts = new List<BoardPost>();
     forum = new BoardForum();
 }
コード例 #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();
 }
コード例 #6
0
ファイル: PostForumPostPresenter.cs プロジェクト: SPKT/MHX2
 public PostForumPostPresenter()
 {
     _postRepository = new BoardPostRepository();
     _forumRepository = new BoardForumRepository();
     _categoryRepository = new BoardCategoryRepository();
     _redirector = new Redirector();
     _webContext = new WebContext();
     _alertService =new AlertService();
     _groupRepository = new GroupRepository();
 }
コード例 #7
0
ファイル: ViewGroupPresenter.cs プロジェクト: ngocpq/MHX2
 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();
 }
コード例 #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();
 }
コード例 #9
0
ファイル: URLRewrite.cs プロジェクト: ngocpq/MHX2
 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();
 }
コード例 #10
0
ファイル: URLRewrite.cs プロジェクト: ngocpq/MHX2
 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();
 }
コード例 #11
0
ファイル: BoardService.cs プロジェクト: ngocpq/MHX2
 public BoardService()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository = new BoardForumRepository();
 }
コード例 #12
0
ファイル: BoardService.cs プロジェクト: ngocpq/MHX2
 public BoardService()
 {
     _categoryRepository = new BoardCategoryRepository();
     _forumRepository    = new BoardForumRepository();
 }