Flag-Enum implementiert und IServiceMessage mit Flag-Unterstützung aktualisiert

- Flag-Enum mit Null und SecurityBreach definiert.
- Flag-Eigenschaft und HasFlag-Methode zu IServiceMessage hinzugefügt.
This commit is contained in:
Developer 02
2024-04-22 10:21:39 +02:00
parent fae750c1d8
commit 4dea6b9b00
34 changed files with 51 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
namespace DigitalData.Core.Application
{
/// <summary>
/// Defines flags that indicate specific types of status or conditions in a service operation.
/// These flags help in categorizing and identifying specific circumstances or issues that may arise during execution.
/// </summary>
public enum Flag
{
/// <summary>
/// Indicates that no specific condition or status is associated with the service operation.
/// </summary>
Null,
/// <summary>
/// Indicates a security breach or vulnerability has been detected during the service operation.
/// </summary>
SecurityBreach
}
}