Initial commit
This commit is contained in:
18
GerstITS.Examples.Api/Module.StartupTasks.cs
Normal file
18
GerstITS.Examples.Api/Module.StartupTasks.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using GerstITS.Examples.Api.StartupTasks;
|
||||
using GerstITS.IoC.DotNetCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Api
|
||||
{
|
||||
public sealed partial class Module
|
||||
{
|
||||
#region Methods
|
||||
|
||||
private static void RegisterStartupTasks(IServiceCollection container)
|
||||
{
|
||||
container.RegisterStartupTasksOf<ExampleStartupTask>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user