25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

25 satır
883B

  1. namespace Campaign_Tracker.Server.ExtensionData;
  2. /// <summary>
  3. /// Result of a nightly (or on-demand) extension-to-legacy referential integrity check (AC #4).
  4. /// Targeting at least 99.9% <see cref="ConsistencyPercentage"/> (NFR13).
  5. /// </summary>
  6. public sealed record LegacyLinkIntegrityReport(
  7. DateTimeOffset CheckedAt,
  8. int TotalRecords,
  9. int ConsistentRecords,
  10. int FailedRecords,
  11. double ConsistencyPercentage,
  12. IReadOnlyList<LegacyLinkIntegrityFailure> Failures)
  13. {
  14. /// <summary>True when no failures were detected (or no records exist to check).</summary>
  15. public bool IsConsistent => FailedRecords == 0;
  16. }
  17. /// <summary>Describes one extension record that failed to resolve its legacy link.</summary>
  18. public sealed record LegacyLinkIntegrityFailure(
  19. string RecordType,
  20. string RecordId,
  21. LegacyLinkReference Reference,
  22. string Reason);

Powered by TurnKey Linux.