public bool TryResolve(Type serviceType, out object instance) { instance = null; var profile = ResolveProfile.FindProfile(serviceType, this); return(profile != null && profile.TryResolve(out instance)); }
public FuncProfile(ResolveProfile innerProfile) { _innerProfile = innerProfile; }