From b2fa9579f86a03479e4235dfef23f5054118604b Mon Sep 17 00:00:00 2001 From: Andrei Kurosh Date: Sun, 28 Jan 2024 13:44:58 +0100 Subject: [PATCH] Removed debug output in Mapster config. --- src/Bonsai/Code/Config/Startup.Mapster.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Bonsai/Code/Config/Startup.Mapster.cs b/src/Bonsai/Code/Config/Startup.Mapster.cs index 3468388..4c6e45c 100644 --- a/src/Bonsai/Code/Config/Startup.Mapster.cs +++ b/src/Bonsai/Code/Config/Startup.Mapster.cs @@ -1,5 +1,4 @@ -using System.Diagnostics; -using Bonsai.Code.Infrastructure; +using Bonsai.Code.Infrastructure; using Mapster; using MapsterMapper; using Microsoft.Extensions.DependencyInjection; @@ -19,10 +18,7 @@ private void ConfigureMapster(IServiceCollection services) }; foreach (var map in RuntimeHelper.GetAllInstances()) - { - Debug.WriteLine(map.GetType().FullName); map.Configure(config); - } config.Compile(); var mapper = new Mapper(config);