Both were constructor-initialised value carriers with read-only consumers. Positional record syntax replaces the class + property + ctor boilerplate; ViewService callers updated to PascalCase named args to match the record-generated parameter names. Rest of item 26 descoped: XmlSerializer needs mutable public setters (value-equality on mutable data is a footgun) and has no source generator without changing file format. See IMPROVEMENT_PLAN.md for the full rationale. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
10 lines
281 B
C#
10 lines
281 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Schaad.Accounting.Datasets.Reports
|
|
{
|
|
public record BalanceDataset(
|
|
List<AccountDataset> ActivaAccountList,
|
|
List<AccountDataset> PassivaAccountList,
|
|
decimal TotalActivaCHF,
|
|
decimal TotalPassivaCHF);
|
|
}
|