Skip to content

Commit

Permalink
style: format code with dotnet-format
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in e0a8bc0 according to the output
from dotnet-format.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Feb 21, 2024
1 parent e0a8bc0 commit 8d86700
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 288 deletions.
32 changes: 16 additions & 16 deletions src/Mvc/MvcAutoConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ public class MvcAutoConfigurator(ILogger<MvcAutoConfigurator> logger)
IConfigureIApplicationBuilder,
ILog
{
public ILogger? Logger => logger;
private const string Mvc = nameof(Mvc);
private const string JsonSerializer = nameof(JsonSerializer);
public ConfigurationOrder Order => ConfigurationOrder.Late;

public void Configure(WebApplicationBuilder builder)
{
Logger?.MvcAutoConfiguratorConfigureWebApplicationBuilder();
builder.AddMvc(Mvc, Logger);
}

public void Configure(IApplicationBuilder builder)
{
Logger.MvcAutoConfiguratorConfigureIApplicationBuilder();
builder.UseMvc(Mvc, Logger);
}
public ILogger? Logger => logger;
private const string Mvc = nameof(Mvc);
private const string JsonSerializer = nameof(JsonSerializer);
public ConfigurationOrder Order => ConfigurationOrder.Late;

public void Configure(WebApplicationBuilder builder)
{
Logger?.MvcAutoConfiguratorConfigureWebApplicationBuilder();
builder.AddMvc(Mvc, Logger);
}

public void Configure(IApplicationBuilder builder)
{
Logger.MvcAutoConfiguratorConfigureIApplicationBuilder();
builder.UseMvc(Mvc, Logger);
}
}
Loading

0 comments on commit 8d86700

Please sign in to comment.