示例#1
0
 public AddReplyMenu(ILabelFactory labelFactory, ITextAreaFactory textAreaFactory, IForumReader reader, ICommandFactory commandFactory, IPostService postService)
 {
     this.labelFactory    = labelFactory;
     this.textAreaFactory = textAreaFactory;
     this.reader          = reader;
     this.commandFactory  = commandFactory;
     this.postService     = postService;
 }
        public AddPostMenu(ILabelFactory labelFactory, ITextAreaFactory textAreaFactory, IForumReader reader, ICommandFactory commandFactory)
        {
            this.labelFactory    = labelFactory;
            this.textAreaFactory = textAreaFactory;
            this.reader          = reader;
            this.commandFactory  = commandFactory;

            this.InitializeTextArea();
            this.Open();
        }
 public AddReplyMenu(ILabelFactory labelFactory, ITextAreaFactory textAreaFactory,
                     IForumReader reader, ICommandFactory commandFactory, IPostService postServive, ISession session)
 {
     this.labelFactory    = labelFactory;
     this.textAreaFactory = textAreaFactory;
     this.reader          = reader;
     this.commandFactory  = commandFactory;
     this.postServive     = postServive;
     this.session         = session;
 }