From c7fe3f0b9c5cdf457a61ec532a93fc21615694f6 Mon Sep 17 00:00:00 2001 From: TekH Date: Tue, 9 Jun 2026 19:04:55 +0200 Subject: [PATCH] Mark PsPdfKitAnnotation as obsolete Added an [Obsolete] attribute to the PsPdfKitAnnotation property in the DocSignedNotification class, indicating that the PSPDFKit library is deprecated. Reorganized using directives in DocumentReceiverElementService.cs to improve consistency and maintain code readability. --- .../Common/Notifications/DocSigned/DocSignedNotification.cs | 1 + .../Services/DocumentReceiverElementService.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/EnvelopeGenerator.Application/Common/Notifications/DocSigned/DocSignedNotification.cs b/EnvelopeGenerator.Application/Common/Notifications/DocSigned/DocSignedNotification.cs index 6307be3c..d5bc6d64 100644 --- a/EnvelopeGenerator.Application/Common/Notifications/DocSigned/DocSignedNotification.cs +++ b/EnvelopeGenerator.Application/Common/Notifications/DocSigned/DocSignedNotification.cs @@ -20,6 +20,7 @@ public record DocSignedNotification : INotification, ISendMailNotification /// /// The PSPDFKit annotation data. /// + [Obsolete("The PSPDFKit library is deprecated.")] public PsPdfKitAnnotation? PsPdfKitAnnotation { get; init; } /// diff --git a/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs b/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs index e3f5e0ba..bc9800cd 100644 --- a/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs +++ b/EnvelopeGenerator.Application/Services/DocumentReceiverElementService.cs @@ -1,9 +1,9 @@ using AutoMapper; using DigitalData.Core.Application; -using EnvelopeGenerator.Domain.Entities; using EnvelopeGenerator.Application.Common.Dto; using EnvelopeGenerator.Application.Common.Interfaces.Repositories; using EnvelopeGenerator.Application.Common.Interfaces.Services; +using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.Application.Services;