-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStartup.cs
28 lines (27 loc) · 1011 Bytes
/
Startup.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc.Modules;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Microsoft.AspNetCore.Server.Kestrel;
using Orchard.Environment.Navigation;
using Orchard.SSLCertificate.Drivers;
using Orchard.Settings.Services;
using Orchard.SSLCertificate.Services;
using Orchard.SSLCertificate.Commands;
using Orchard.Environment.Commands;
using Microsoft.AspNetCore.Modules;
namespace Orchard.SSLCertificate
{
public class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddScoped<ISSLCertificateService, SSLCertificateService>();
services.AddScoped<INavigationProvider, AdminMenu>();
services.AddScoped<ISiteSettingsDisplayDriver, SSLCertificateSettingsDisplayDriver>();
services.AddScoped<ICommandHandler, SSLCertificateCommands>();
}
}
}