コード例 #1
0
        public ThreadEditPresenter(IThreadEditView view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.GetThread  += GetThread;
            this.View.EditThread += EditThread;
        }
コード例 #2
0
        public CreateThreadPresenter(ICreateThreadView view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.Create += Create;
            this.View.Load   += Load;
        }
コード例 #3
0
        public CommentEditPresenter(ICommentEditView view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.GetComment  += GetComment;
            this.View.EditComment += EditComment;
        }
コード例 #4
0
        public AnswerEditPresenter(IAnswerEditView view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.GetAnswer  += GetAnswer;
            this.View.EditAnswer += EditAnswer;
        }
コード例 #5
0
        public ThreadPresenter(IThreadView view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.GetThread += GetThread;
            this.View.Answer    += Answer;
            this.View.Comment   += Comment;
        }
コード例 #6
0
        public HomePresenter(IView <HomeViewModel> view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.Load += Load;
        }
コード例 #7
0
        public ForumHomePresenter(IForumHomeView view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.LoadPage += LoadPage;
        }
コード例 #8
0
        public SearchForumPresenter(ISearchForumView view, IForumData forumData) : base(view)
        {
            this.forumData = forumData;

            this.View.SearchThreads += SearchThreads;
        }
コード例 #9
0
 public ForumClientApp(IForumData data)
 {
     this.data = data;
 }
コード例 #10
0
 public ForumClientApp(IForumData data)
 {
     this.data = data;
 }