/// <summary> /// Initializes a new instance of the <see cref="ForumPage"/> class. /// </summary> /// <param name="transPage"> /// The trans page. /// </param> public ForumPage([CanBeNull] string transPage) { this.Get<IInjectServices>().Inject(this); // create empty hashtable for cache entries)); this._pageCache = new Hashtable(); this._transPage = transPage; this.Init += this.ForumPage_Init; this.Load += this.ForumPage_Load; this.Unload += this.ForumPage_Unload; this.PreRender += this.ForumPage_PreRender; this.unicodeEncoder = new UnicodeEncoder(); }
/// <summary> /// Initializes a new instance of the <see cref = "ForumPage" /> class. /// </summary> public ForumPage() : this(string.Empty) { this.unicodeEncoder = new UnicodeEncoder(); }