public SelectScopeRoot ( IHandler>.Func |
||
scopeRootSelector | IHandler>.Func | |
Результат | ResolutionContext |
private IScopeCache GetScopeImplicit(bool required, CreationContext context) { var selected = context.SelectScopeRoot(selector); if (selected == null && required) { throw new InvalidOperationException(string.Format("Scope was not available for '{0}'. Did you forget to call container.BeginScope()?", componentModel.Name)); } return GetCache(selected); }