Added Scoped Handlers
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public class ActionableInitializationScoped(IServiceProvider provider,
|
||||
Action<IServiceProvider> delegateAction) : IInitializationScoped
|
||||
{
|
||||
public void Initialize() => delegateAction.Invoke(provider);
|
||||
}
|
||||
Reference in New Issue
Block a user