yzh
2022-05-10 072cc5decf541a57d579b39cfb6c92e0f12dcd04
web/Model/MasterPageBase.cs
@@ -1,15 +1,15 @@


using System;
using System.Web;
using System.Web.UI;
public class MasterPageBase<T> : MasterPage where T : ISessionObject
{
  public PageContext<T> AppContext { get; set; }
    public PageContext<T> AppContext { get; set; }
  protected override void OnInit(EventArgs e)
  {
    this.AppContext = new PageContext<T>(HttpContext.Current);
    base.OnInit(e);
  }
    protected override void OnInit(EventArgs e)
    {
        this.AppContext = new PageContext<T>(HttpContext.Current);
        base.OnInit(e);
    }
}