Hinzufügen und Dokumentieren von Flag-Erweiterungsmethoden in ServiceMessageExtensions zum Setzen und Überprüfen von Flags

This commit is contained in:
Developer 02
2024-04-22 16:10:57 +02:00
parent 29cdbbf7b1
commit 385a286ef5
180 changed files with 24 additions and 4010 deletions

View File

@@ -27,7 +27,7 @@ namespace DigitalData.Core.Contracts.Application
/// </summary>
/// <param name="flag">The flag to check against the current service message's flag.</param>
/// <returns>true if the flags match; otherwise, false.</returns>
public bool HasFlag(Enum flag) => Flag.ToString() == flag.ToString();
public bool HasFlag(Enum flag) => Flag?.ToString() == flag.ToString();
/// <summary>
/// [Obsolete("Deprecated: Use ClientMessages instead.")]