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: MailHole.Api
Assembly: MailHole.Api.dll
Syntax
public class Startup
Constructors
| Improve this Doc View SourceStartup(IConfiguration)
Declaration
public Startup(IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Configuration.IConfiguration | configuration |
Methods
| Improve this Doc View SourceConfigure(IApplicationBuilder, IServiceProvider, IHostingEnvironment)
Declaration
public void Configure(IApplicationBuilder app, IServiceProvider serviceProvider, IHostingEnvironment env)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Builder.IApplicationBuilder | app | |
System.IServiceProvider | serviceProvider | |
Microsoft.AspNetCore.Hosting.IHostingEnvironment | env |
ConfigureServices(IServiceCollection)
Declaration
public void ConfigureServices(IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services |