From 04e30b0d7915c7edad5bb937b0d332730b182ece Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 10 Jun 2026 15:18:22 +0200 Subject: [PATCH] Add ReceiverAppType property and enum to SigningCommand Added a new `ReceiverAppType` property to the `SigningCommand` record, initialized to `ReceiverAppType.ReceiverUI`. Introduced a `ReceiverAppType` enum with values `ReceiverUI` and `LegacyWeb`. Updated `SignCommandHandler` to reflect these changes without modifying its functionality. --- .../Commands/SigningCommand.cs | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/EnvelopeGenerator.Application/DocReceiverElements/Commands/SigningCommand.cs b/EnvelopeGenerator.Application/DocReceiverElements/Commands/SigningCommand.cs index 1354b7b9..d7456ef0 100644 --- a/EnvelopeGenerator.Application/DocReceiverElements/Commands/SigningCommand.cs +++ b/EnvelopeGenerator.Application/DocReceiverElements/Commands/SigningCommand.cs @@ -36,6 +36,11 @@ public record SigningCommand : EnvelopeReceiverQueryBase, IRequest /// /// public IEnumerable? Signatures { get; init; } + + /// + /// + /// + public ReceiverAppType ReceiverAppType { get; init; } = ReceiverAppType.ReceiverUI; } /// @@ -54,4 +59,20 @@ public class SignCommandHandler : IRequestHandler { return Task.CompletedTask; } +} + +/// +/// +/// +public enum ReceiverAppType +{ + /// + /// + /// + ReceiverUI = 0, + + /// + /// + /// + LegacyWeb = 1, } \ No newline at end of file