You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
864 B
30 lines
864 B
using Infrastructure.UI;
|
|
using Infrastructure.Web;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.Extensions.Configuration;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using System.Collections.Generic;
|
|
|
|
namespace IoT.UI.Shard
|
|
{
|
|
public class IoTServiceStartup : BaseStartup
|
|
{
|
|
private readonly IWebHostEnvironment _env;
|
|
|
|
public IoTServiceStartup(IConfiguration configuration, IWebHostEnvironment env) : base(configuration, env)
|
|
{
|
|
this._env = env;
|
|
}
|
|
|
|
public override void ConfigureOptions(IServiceCollection services)
|
|
{
|
|
services.ConfigureOptions(new FileConfigureOptions(_env, new List<string> { "IoT.Shared" }));
|
|
}
|
|
|
|
public override void ConfigureServices(IServiceCollection services)
|
|
{
|
|
base.ConfigureServices(services);
|
|
}
|
|
}
|
|
}
|