public IOC.ILifetimeScope BeginLifetimeScope(Action <IOC.IRegistrator> registations) { var childScope = _lifetimeScope.BeginLifetimeScope( builder => { registations(new RegistratorImpl(builder)); }); var result = new LifetimeScopeImpl(childScope); return(result); }
public IOC.ILifetimeScope BeginLifetimeScope(object tag) { var result = new LifetimeScopeImpl(_lifetimeScope.BeginLifetimeScope(tag)); return(result); }