Skip to content

Commit

Permalink
dotnet format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrch committed Oct 8, 2024
1 parent c350256 commit 3771ea8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Migration.Tool.Extensions/ClassMappings/ClassMappingSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -180,7 +180,7 @@ public static IServiceCollection AddReusableSchemaIntegrationSample(this IServic
["controlname"] = FormComponents.AdminTextInputComponent
}
});

var m = new MultiClassMapping("DancingGoatCore.CafeRS", target =>
{
target.ClassName = "DancingGoatCore.CafeRS";
Expand All @@ -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);
Expand Down
1 change: 0 additions & 1 deletion Migration.Tool.Extensions/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 3771ea8

Please sign in to comment.