Example #1
0
        protected override void InitializeContext()
        {
            ContainerContextFactory.Current.NewThreadScopedContext();
            _context = ContainerContextFactory.Current.GetContext();
            var cfg = new ThreadStaticContainerConfiguration(_context);

            cfg.RegisterAllTypes();
        }