refactor(ModifyDocStatusCommandBase): remove ChangedWhen-property

This commit is contained in:
tekh 2025-08-25 11:18:48 +02:00
parent 996b544633
commit 85a855fe64
3 changed files with 1 additions and 11 deletions

View File

@ -5,11 +5,6 @@
/// </summary>
public record CreateDocStatusCommand : ModifyDocStatusCommandBase
{
/// <summary>
/// Gets timestamp when this record was added. Returns null.
/// </summary>
public override DateTime? ChangedWhen => null;
/// <summary>
/// Gets timestamp when this record was added. Returns the StatusChangedWhen value.
/// </summary>

View File

@ -32,11 +32,6 @@ public abstract record ModifyDocStatusCommandBase
/// </summary>
public DateTime StatusChangedWhen { get; } = DateTime.Now;
/// <summary>
/// Gets timestamp when this record was added.
/// </summary>
public abstract DateTime? ChangedWhen { get; }
/// <summary>
/// Maps the current command to a new instance of the specified type.
/// </summary>

View File

@ -10,5 +10,5 @@ public record UpdateDocStatusCommand : ModifyDocStatusCommandBase
/// <summary>
/// Gets timestamp when this record was added. Returns the StatusChangedWhen value.
/// </summary>
public override DateTime? ChangedWhen => StatusChangedWhen;
public DateTime? ChangedWhen => StatusChangedWhen;
}