Example #1
0
        public void RegisterNativeModule(HttpNativeRuntime context)
        {
            HttpRuntime runtime = HttpRuntime.GetHttpRuntime();

            foreach (var managedModule in context.ManagedModules)
            {
                managedModule.Init(runtime.HttpApplication);
            }
        }
Example #2
0
 public HttpRuntime(HttpNativeRuntime nativeRuntime)
 {
     HttpApplication = HttpApplicationFactory.GetHttpApplication();
 }