style: apply CSharpier formatting to all C# sources
Repo-wide sweep with the pinned CSharpier 1.3.0 tool. Whitespace and line-wrapping only; OpenNest.Engine.Tests (109) and OpenNest.IO.Tests pass after reformat, full solution builds 0 errors. Added .csharpierignore so csproj/config XML keeps its existing layout (CSharpier's XML wrapping churns attributes with zero benefit). Formatting is now enforceable: dotnet csharpier check . passes.
This commit is contained in:
@@ -30,17 +30,13 @@ namespace OpenNest.Training.Data
|
||||
modelBuilder.Entity<TrainingRun>(e =>
|
||||
{
|
||||
e.HasIndex(r => r.PartId).HasDatabaseName("idx_runs_partid");
|
||||
e.HasOne(r => r.Part)
|
||||
.WithMany(p => p.Runs)
|
||||
.HasForeignKey(r => r.PartId);
|
||||
e.HasOne(r => r.Part).WithMany(p => p.Runs).HasForeignKey(r => r.PartId);
|
||||
});
|
||||
|
||||
modelBuilder.Entity<TrainingAngleResult>(e =>
|
||||
{
|
||||
e.HasIndex(a => a.RunId).HasDatabaseName("idx_angleresults_runid");
|
||||
e.HasOne(a => a.Run)
|
||||
.WithMany(r => r.AngleResults)
|
||||
.HasForeignKey(a => a.RunId);
|
||||
e.HasOne(a => a.Run).WithMany(r => r.AngleResults).HasForeignKey(a => a.RunId);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user