Initial commit
This commit is contained in:
20
GerstITS.Examples.Api/Module.cs
Normal file
20
GerstITS.Examples.Api/Module.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using GerstITS.IoC;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Api
|
||||
{
|
||||
public sealed partial class Module : IIoCModule<IServiceCollection>
|
||||
{
|
||||
#region IIoCModule
|
||||
|
||||
public void RegisterComponents(IServiceCollection container)
|
||||
{
|
||||
RegisterExceptionHandling(container);
|
||||
RegisterMvc(container);
|
||||
RegisterStartupTasks(container);
|
||||
RegisterSwagger(container);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user