lifti
lifti copied to clipboard
Create a builder implementation for use with ConfigureServices
Ideally I'd like to be able to fully configure an implementation of IFullTextIndex such that it's injectable in a fully configured state.
This should be a separate nuget package Lifti.Extensions.Microsoft.DependencyInjection?
Closing this because it's not hard as it stands to do something like this:
services.AddSingleton<IFullTextIndex<int>>(
new FullTextIndexBuilder<int>()
// Your config here
.Build());