I am trying to migrate an old Prism Xamarin Form project to latest Prism and XF version.

I'd like to register a factory for creating connections like this `Func<SQLiteConnection>`:

```
public class AndroidInitializer : IPlatformInitializer
{
    string DbFilePath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "test.db3");

    public void RegisterTypes(IContainerRegistry container)
    {
        container.RegisterSingleton<Func<SQLiteConnection>>(() => new SQLiteConnection(DbFilePath));
    }
}

```

Howeve this doesn't work, there's no overload which takes an instance like I was used to do in old Prism Unity version.