Class Startup
- Namespace
- Oqtane
- Assembly
- Oqtane.Server.dll
public class Startup
- Inheritance
-
objectStartup
Constructors
Startup(IWebHostEnvironment, ILocalizationManager)
public Startup(IWebHostEnvironment env, ILocalizationManager localizationManager)
Parameters
env
IWebHostEnvironmentlocalizationManager
ILocalizationManager
Properties
Configuration
public IConfigurationRoot Configuration { get; }
Property Value
- IConfigurationRoot
Methods
Configure(IApplicationBuilder, IWebHostEnvironment, ISyncManager, ICorsService, ICorsPolicyProvider, ILogger<Startup>)
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ISyncManager sync, ICorsService corsService, ICorsPolicyProvider corsPolicyProvider, ILogger<Startup> logger)
Parameters
app
IApplicationBuilderenv
IWebHostEnvironmentsync
ISyncManagercorsService
ICorsServicecorsPolicyProvider
ICorsPolicyProviderlogger
ILogger<Startup>
ConfigureServices(IServiceCollection)
public void ConfigureServices(IServiceCollection services)
Parameters
services
IServiceCollection