Skip to content

Commit efe05b4

Browse files
committed
main.yml updated
1 parent c11c034 commit efe05b4

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ bld/
3131
[Ll]og/
3232
[Ll]ogs/
3333

34+
# Rider
35+
.idea/
36+
3437
# Visual Studio 2015/2017 cache/options directory
3538
.vs/
3639
# Uncomment if you have tasks that create the project's static files in wwwroot

src/Calabonga.AspNetCore.AppDefinitions/AppDefinitionExtensions.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,15 @@ public static void AddDefinitions(this IServiceCollection source, WebApplication
2929
var instancesOrdered = instances.Where(x => x.Enabled).OrderBy(x => x.OrderIndex).ToList();
3030
if (builder.Environment.IsDevelopment())
3131
{
32-
logger.LogDebug("[AppDefinitions] Founded: {0}. Enabled: {1}", instances.Count, instancesOrdered.Count);
33-
logger.LogDebug("[AppDefinitions] Registered [{0}]", string.Join(", ", instancesOrdered.Select(x => x.GetType().Name).ToArray()));
32+
logger.LogDebug(@"[AppDefinitions] Founded: {AppDefinitionsCountTotal}. Enabled: {AppDefinitionsCountEnabled}", instances.Count, instancesOrdered.Count);
33+
logger.LogDebug(@"[AppDefinitions] Registered [{Total}]", string.Join(", ", instancesOrdered.Select(x => x.GetType().Name).ToArray()));
3434
}
3535

3636
definitions.AddRange(instancesOrdered);
3737
}
3838

3939
definitions.ForEach(app => app.ConfigureServices(source, builder));
4040
source.AddSingleton(definitions as IReadOnlyCollection<IAppDefinition>);
41-
4241
}
4342

4443
/// <summary>
@@ -60,7 +59,7 @@ public static void UseDefinitions(this WebApplication source)
6059

6160
if (environment.IsDevelopment())
6261
{
63-
logger.LogDebug("Total application definitions configured {0}", instancesOrdered.Count);
62+
logger.LogDebug("Total application definitions configured {Count}", instancesOrdered.Count);
6463
}
6564
}
6665

src/Calabonga.AspNetCore.AppDefinitions/Calabonga.AspNetCore.AppDefinitions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>enable</Nullable>
77
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
88
<Title>Calabonga.AspNetCore.AppDefinitions</Title>
9-
<Version>1.2.0</Version>
9+
<Version>1.2.1</Version>
1010
<Authors>Calabonga</Authors>
1111
<Company>Calabonga Soft</Company>
1212
<Product>Calabonga.AspNetCore.AppDefinitions</Product>

0 commit comments

Comments
 (0)