refactor: Address a few sonarlint issues

pull/302/head
Robert Dailey 4 months ago
parent 5a36be2912
commit e3d038b675

@ -7,6 +7,5 @@ public class CacheAutofacModule : Module
protected override void Load(ContainerBuilder builder) protected override void Load(ContainerBuilder builder)
{ {
builder.RegisterType<CacheStoragePath>().As<ICacheStoragePath>(); builder.RegisterType<CacheStoragePath>().As<ICacheStoragePath>();
// builder.RegisterGeneric(typeof(CachePersister<>)).As(typeof(ICachePersister<>));
} }
} }

@ -45,4 +45,4 @@ app.UseRouting();
app.MapBlazorHub(); app.MapBlazorHub();
app.MapFallbackToPage("/_Host"); app.MapFallbackToPage("/_Host");
app.Run(); await app.RunAsync();

Loading…
Cancel
Save