Class Startup
Inheritance
System.Object
Startup
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WaCore.Sample.Middlewares
Assembly: WaCore.Sample.Middlewares.dll
Syntax
public class Startup
Constructors
| Improve this Doc View SourceStartup(IHostingEnvironment)
Declaration
public Startup(IHostingEnvironment env)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Hosting.IHostingEnvironment | env |
Properties
| Improve this Doc View SourceConfiguration
Declaration
public IConfiguration Configuration { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Configuration.IConfiguration |
Methods
| Improve this Doc View SourceConfigure(IApplicationBuilder, IHostingEnvironment, IOptions<WacSecureHeadersMiddlewareConfiguration>)
Declaration
public void Configure(IApplicationBuilder app, IHostingEnvironment env, IOptions<WacSecureHeadersMiddlewareConfiguration> secureHeaderSettings)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Builder.IApplicationBuilder | app | |
Microsoft.AspNetCore.Hosting.IHostingEnvironment | env | |
Microsoft.Extensions.Options.IOptions<WacSecureHeadersMiddlewareConfiguration> | secureHeaderSettings |
ConfigureServices(IServiceCollection)
Declaration
public void ConfigureServices(IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services |