public static bool TryResolve(this DependencySource source, ResolutionContext context, Type type, out object result, out DependencySource actualSource) => source.TryResolveInGameObject(context, type, out result, out actualSource) || source.TryResolveGlobally(type, out result, out actualSource);
public static bool CanBeResolvedSafe(this DependencySource source, ResolutionContext context, Type type, out DependencySource actualSource) => source.TryResolveInGameObject(context, type, out _, out actualSource) || source.CanBeResolvedGloballySafe(type, out actualSource);
public static bool TryResolve(this DependencySource source, Context context, Type type, out object result) => source.TryResolveInGameObject(context, type, out result) || source.TryResolveGlobally(type, out result);