-
Notifications
You must be signed in to change notification settings - Fork 1
/
Module.cs
22 lines (19 loc) · 1.04 KB
/
Module.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace A11d.Module;
public abstract class Module
{
/// <summary>
/// Use this method to add services to the container. You don't need to call base.ConfigureServices() if you override this method.
/// </summary>
/// <param name="services">The <see cref="IServiceCollection"/> to add services to.</param>
public virtual void ConfigureServices(IServiceCollection services) { }
/// <summary>
/// Use this method to configure your application. You don't need to call base.ConfigureApplication() if you override this method.
/// </summary>
/// <param name="application">The <see cref="WebApplication"/> to configure.</param>
public virtual void ConfigureApplication(WebApplication application) { }
/// <summary>
/// Use this method to define the endpoints for your application. You don't need to call base.ConfigureEndpoints() if you override this method.
/// </summary>
/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to define endpoints for.</param>
public virtual void ConfigureEndpoints(IEndpointRouteBuilder endpoints) { }
}