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>
12 lines
340 B
C#
12 lines
340 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Schaad.Accounting.Datasets.Reports
|
|
{
|
|
public record BalanceSheetDataset(
|
|
List<AccountDataset> ActivaAccountList,
|
|
List<AccountDataset> IncomeAccountList,
|
|
List<AccountDataset> ExpensesAccountList,
|
|
decimal ProfitCHF,
|
|
decimal LossCHF,
|
|
int Year);
|
|
}
|