From 3771ea86d96029d5323580e684dbe48ef454e23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Krch?= Date: Tue, 8 Oct 2024 10:36:06 +0200 Subject: [PATCH] dotnet format fix --- .../ClassMappings/ClassMappingSample.cs | 6 +++--- Migration.Tool.Extensions/ServiceCollectionExtensions.cs | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Migration.Tool.Extensions/ClassMappings/ClassMappingSample.cs b/Migration.Tool.Extensions/ClassMappings/ClassMappingSample.cs index 062601f4..02ba0e2d 100644 --- a/Migration.Tool.Extensions/ClassMappings/ClassMappingSample.cs +++ b/Migration.Tool.Extensions/ClassMappings/ClassMappingSample.cs @@ -163,7 +163,7 @@ public static IServiceCollection AddReusableSchemaIntegrationSample(this IServic .BuildField("Phone") .CreateFrom(sourceClassName, "CafePhone"); - + var sb2 = new ReusableSchemaBuilder(schemaNameDgcName, "Common name", "Reusable schema that defines name field"); sb2 @@ -180,7 +180,7 @@ public static IServiceCollection AddReusableSchemaIntegrationSample(this IServic ["controlname"] = FormComponents.AdminTextInputComponent } }); - + var m = new MultiClassMapping("DancingGoatCore.CafeRS", target => { target.ClassName = "DancingGoatCore.CafeRS"; @@ -202,7 +202,7 @@ public static IServiceCollection AddReusableSchemaIntegrationSample(this IServic m.UseResusableSchema(schemaNameDgcName); m.BuildField("Name").SetFrom(sourceClassName, "CafeName"); - + // old fields we leave in data class m.BuildField("CafePhoto").SetFrom(sourceClassName, "CafePhoto", isTemplate: true); m.BuildField("CafeAdditionalNotes").SetFrom(sourceClassName, "CafeAdditionalNotes", isTemplate: true); diff --git a/Migration.Tool.Extensions/ServiceCollectionExtensions.cs b/Migration.Tool.Extensions/ServiceCollectionExtensions.cs index ff312412..cfaa49ba 100644 --- a/Migration.Tool.Extensions/ServiceCollectionExtensions.cs +++ b/Migration.Tool.Extensions/ServiceCollectionExtensions.cs @@ -1,5 +1,4 @@ using Microsoft.Extensions.DependencyInjection; -using Migration.Tool.Extensions.ClassMappings; using Migration.Tool.Extensions.CommunityMigrations; using Migration.Tool.Extensions.DefaultMigrations; using Migration.Toolkit.KXP.Api.Services.CmsClass;