Dependency injection
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using DispatchR.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Musify.Application.DispatchR
|
||||
{
|
||||
public static class DispatchRDependencyInjection
|
||||
{
|
||||
public static void AddDispatchR(this IServiceCollection serviceDescriptors)
|
||||
{
|
||||
serviceDescriptors.AddDispatchR(typeof(DispatchRDependencyInjection).Assembly);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user