Exemplo n.º 1
0
        public void SimpleInjectorHttpModuleDispose_Always_Succeeds()
        {
            // Arrange
            IHttpModule module = new SimpleInjectorHttpModule();

            // Act
            module.Dispose();
        }
Exemplo n.º 2
0
            static WebApplication()
            {
                var application = new WebApplication();

                IHttpModule module = new SimpleInjectorHttpModule();

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

                Instance = application;
            }
Exemplo n.º 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();
        }