From 2fb32fb982abfcfd205e8249f5b29f482a0827a0 Mon Sep 17 00:00:00 2001 From: TekH Date: Tue, 9 Jun 2026 18:07:27 +0200 Subject: [PATCH] Add PsPdfKitAnnotation record with deprecation notice Introduced a new `PsPdfKitAnnotation` record in the namespace `EnvelopeGenerator.Application.Common.Dto` to represent PSPDFKit annotation data. The record includes two parameters: `Instant` of type `ExpandoObject` and `Structured` of type `IEnumerable`. Marked the record with the `[Obsolete]` attribute to indicate that the PSPDFKit library is deprecated. Added a summary XML comment to describe the purpose of the record. Also added a `using` directive for `System.Dynamic` to support `ExpandoObject`. --- .../Common/Dto/PsPdfKitAnnotation.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 EnvelopeGenerator.Application/Common/Dto/PsPdfKitAnnotation.cs diff --git a/EnvelopeGenerator.Application/Common/Dto/PsPdfKitAnnotation.cs b/EnvelopeGenerator.Application/Common/Dto/PsPdfKitAnnotation.cs new file mode 100644 index 00000000..e73d66bd --- /dev/null +++ b/EnvelopeGenerator.Application/Common/Dto/PsPdfKitAnnotation.cs @@ -0,0 +1,11 @@ +using System.Dynamic; + +namespace EnvelopeGenerator.Application.Common.Dto; + +/// +/// Represents PSPDFKit annotation data. +/// +/// Instant annotation data. +/// Structured annotation data. +[Obsolete("The PSPDFKit library is deprecated.")] +public record PsPdfKitAnnotation(ExpandoObject Instant, IEnumerable Structured);