private void ConfigureApplicationLifetimeScope(IJsonApiConfiguration jsonApiConfiguration, ContainerBuilder containerBuilder)
        {
            var module = new JsonApiAutofacModule(jsonApiConfiguration);
            containerBuilder.RegisterModule(module);

            if (_appLifetimeScopeCreating != null)
                _appLifetimeScopeCreating(containerBuilder); 
        }
Example #2
0
        private void ConfigureApplicationLifetimeScope(IJsonApiConfiguration jsonApiConfiguration, ContainerBuilder containerBuilder)
        {
            var module = new JsonApiAutofacModule(jsonApiConfiguration);

            containerBuilder.RegisterModule(module);

            if (_appLifetimeScopeCreating != null)
            {
                _appLifetimeScopeCreating(containerBuilder);
            }
        }