Add extension method for TryResolveAll