remove the hard requirement to use ComponentConfig

This commit is contained in:
TheXamlGuy
2024-09-30 19:42:15 +01:00
parent 70f1908c0f
commit a9ae9b1d8f
7 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ public class ComponentHost(IServiceProvider services,
}
public TConfiguration? GetConfiguration<TConfiguration>()
where TConfiguration : ComponentConfiguration
where TConfiguration : class
{
return Services.GetService<TConfiguration>();
}