Inheritance: IGraphdat
コード例 #1
0
ファイル: HttpModule.cs プロジェクト: alphashack/NET_graphdat
        public void BeginRequest(Object source, EventArgs e)
        {
            var application = (HttpApplication)source;
            var context = application.Context;

            // Create API (includes context) for request
            var graphdat = new API(Logger);
            // Attach to HttpContext
            context.Items[ContextItemKey] = graphdat;
        }