Mark PSPDFKit-related code as obsolete
Added `[Obsolete]` attributes to classes, methods, and properties related to the deprecated PSPDFKit library and notifications. - Marked `AnnotationHandler`, `DocStatusHandler`, `AnnotationBehavior`, and `DocStatusBehavior` as obsolete. - Marked `Handle` methods in `DocStatusHandler` and `DocStatusBehavior` as obsolete. - Marked `PsPdfKitAnnotation` property in `SignCommand` as obsolete. - Marked `CreateOrUpdate` method in `AnnotationController` as obsolete. - Added `Handle` methods in `DocStatusHandler` and `DocStatusBehavior` to send `CreateDocStatusCommand`. - Updated `AnnotationController` dependencies to include `EnvelopeGenerator.Application.Common.Dto`. These changes indicate a transition to `Signature.Commands.SignCommand` and deprecate PSPDFKit-related functionality.
This commit is contained in:
@@ -10,6 +10,7 @@ namespace EnvelopeGenerator.Application.Signature.Behaviors;
|
||||
/// Pipeline behavior that saves annotations.
|
||||
/// Executes first in the signing process.
|
||||
/// </summary>
|
||||
[Obsolete("This notification is deprecated. Use Signature.Commands.SignCommand instead.")]
|
||||
public class AnnotationBehavior : IPipelineBehavior<SignCommand, Unit>
|
||||
{
|
||||
private readonly IRepository<ElementAnnotation> _repo;
|
||||
|
||||
Reference in New Issue
Block a user