SelectScopeRoot() public method

public SelectScopeRoot ( IHandler>.Func scopeRootSelector ) : ResolutionContext
scopeRootSelector IHandler>.Func
return 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);
		}