Added Scoped Handlers

This commit is contained in:
Dan Clark
2024-12-04 22:35:58 +00:00
parent 9b9330c8cc
commit 6454e1bb6f
12 changed files with 235 additions and 56 deletions
@@ -0,0 +1,7 @@
namespace Toolkit.Foundation;
public class ActionableInitializationScoped(IServiceProvider provider,
Action<IServiceProvider> delegateAction) : IInitializationScoped
{
public void Initialize() => delegateAction.Invoke(provider);
}