src/Slugent.APIInfo/ConfigInfo/EndpointConfigMiddleware.cs
/// <summary>
/// Executes the middleware that provides configuration-debug-view page.
/// </summary>
/// <param name="httpContext">The <see cref="HttpContext"/> for the current request.</param>
/// <param name="configuration">IConfiguration object of current config values</param>
/// <param name="apiInfoBase">The APIInfoBase object that contains settings we need</param>
Executes the middleware that provides configuration-debug-view page.
Executes the middleware that provides configuration - debug - view page .
public async Task InvokeAsync(HttpContext httpContext, IConfiguration configuration, IAPIInfoBase apiInfoBase) {
			ConfigurationParser parser = new(configuration, _apiInfoBase);
			string returnHtml = parser.DisplayConfig();
			await httpContext.Response.WriteAsync(returnHtml);
		}
public async Task InvokeAsync ( HttpContext httpContext , IConfiguration configuration , IAPIInfoBase apiInfoBase ) { ConfigurationParser parser = new ( configuration , _apiInfoBase ) ; string returnHtml = parser . DisplayConfig ( ) ; await httpContext . Response . WriteAsync ( returnHtml ) ; }
Executes the middleware that provides configuration-debug-view page.
Executes the middleware that provides configuration - debug - view page .
//	ConfigurationParser parser = new(_configRoot,_apiInfoBase);
httpContext
HttpContext
The  for the current request.
The for the current request .
configuration
IConfiguration
IConfiguration object of current config values
IConfiguration object of current config values
apiInfoBase
IAPIInfoBase
The APIInfoBase object that contains settings we need
The APIInfoBase object that contains settings we need