Refaktorisierung aller Nachrichteneigenschaften in ServiceMessage von List zu ICollection für verbesserte Flexibilität.
This commit is contained in:
@@ -35,48 +35,48 @@ namespace DigitalData.Core.Contracts.Application
|
||||
/// success notifications, or other relevant information related to the operation's outcome.
|
||||
/// </summary>
|
||||
[Obsolete("Deprecated: Use ClientMessages instead.")]
|
||||
List<string> Messages { get; init; }
|
||||
ICollection<string> Messages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of messages intended for client display. This replaces the deprecated 'Messages' property.
|
||||
/// </summary>
|
||||
List<string> ClientMessages { get; init; }
|
||||
ICollection<string> ClientMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of messages used for tracing program execution at a fine-grained level. These are typically voluminous and detailed.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
List<string> TraceMessages { get; init; }
|
||||
ICollection<string> TraceMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of messages helpful for debugging during development. These messages are often diagnostic.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
List<string> DebugMessages { get; init; }
|
||||
ICollection<string> DebugMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of informational messages, less critical than warnings, generally used for non-critical notifications.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
List<string> InformationMessages { get; init; }
|
||||
ICollection<string> InformationMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of messages indicating potential issues that are not necessarily errors, but which may require attention.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
List<string> WarningMessages { get; init; }
|
||||
ICollection<string> WarningMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of error messages indicating failures or problems within the service.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
List<string> ErrorMessages { get; init; }
|
||||
ICollection<string> ErrorMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of messages indicating critical issues that require immediate attention.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
List<string> CriticalMessages { get; init; }
|
||||
ICollection<string> CriticalMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// A function that translates a message key from a string to its localized or transformed representation.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user