C# Class BookShop.Api.Configuration.MiddlewareConfiguration

显示文件 Open project: profjordanov/BookShop

Public Methods

Method Description
AddLogging ( ILoggerFactory loggerFactory, IConfigurationSection loggingConfiguration ) : void
UseSwagger ( IApplicationBuilder app, string endpointName ) : void

Method Details

AddLogging() public static method

public static AddLogging ( ILoggerFactory loggerFactory, IConfigurationSection loggingConfiguration ) : void
loggerFactory ILoggerFactory
loggingConfiguration IConfigurationSection
return void

UseSwagger() public static method

public static UseSwagger ( IApplicationBuilder app, string endpointName ) : void
app IApplicationBuilder
endpointName string
return void