Ejemplo n.º 1
0
        public IOC.ILifetimeScope BeginLifetimeScope(Action <IOC.IRegistrator> registations)
        {
            var childScope = _lifetimeScope.BeginLifetimeScope(
                builder =>
            {
                registations(new RegistratorImpl(builder));
            });
            var result = new LifetimeScopeImpl(childScope);

            return(result);
        }
Ejemplo n.º 2
0
        public IOC.ILifetimeScope BeginLifetimeScope(object tag)
        {
            var result = new LifetimeScopeImpl(_lifetimeScope.BeginLifetimeScope(tag));

            return(result);
        }