예제 #1
0
 public ForumPresenterFactory(ForumPresenterSettings settings)
 {
     this.PresenterSettings = settings;
 }
예제 #2
0
        public Settings(ForumPresenterSettings presenterSettings)
        {
            this.ID = Guid.NewGuid();
            this.TopicCountOnPage = 20;
            this.PostCountOnPage = 20;

            this.ThreadParamName = "f";
            this.TopicParamName = "t";
            this.TagParamName = "tag";
            this.ActionParamName = "a";
            this.PostParamName = "m";            
            this.PresenterSettings = presenterSettings;

            this.LinkProvider = new LinkProvider(this);

            //registry
            this.ForumManager = new ForumManager(this);
            ForumManager.RegistrySettings(this);
        }
예제 #3
0
 public void InitPresenter(ForumPresenterSettings settings)
 {
     _settings = settings;
 }