1
wangsheng
2022-03-22 7bd27b4c5967ffaa87e8a813687da7edb909148c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
using System;
using System.Web;
using System.Web.UI;
 
public class MasterPageBase<T> : MasterPage where T : ISessionObject
{
    public PageContext<T> AppContext { get; set; }
 
    protected override void OnInit(EventArgs e)
    {
        this.AppContext = new PageContext<T>(HttpContext.Current);
        base.OnInit(e);
    }
}