Example #1
0
        public void SimpleInjectorHttpModuleDispose_Always_Succeeds()
        {
            // Arrange
            IHttpModule module = new SimpleInjectorHttpModule();

            // Act
            module.Dispose();
        }
            static WebApplication()
            {
                var application = new WebApplication();

                IHttpModule module = new SimpleInjectorHttpModule();

                // This registers the EndRequest event in the HttpApplication
                module.Init(application);

                Instance = application;
            }
Example #3
0
            static WebApplication()
            {
                var application = new WebApplication();

                IHttpModule module = new SimpleInjectorHttpModule();

                // This registers the EndRequest event in the HttpApplication
                module.Init(application);

                Instance = application;
            }
        public void SimpleInjectorHttpModuleDispose_Always_Succeeds()
        {
            // Arrange
            IHttpModule module = new SimpleInjectorHttpModule();

            // Act
            module.Dispose();
        }