diff --git a/.vs/DigitalData.Core/DesignTimeBuild/.dtbcache.v2 b/.vs/DigitalData.Core/DesignTimeBuild/.dtbcache.v2 index d434151..12405b4 100644 Binary files a/.vs/DigitalData.Core/DesignTimeBuild/.dtbcache.v2 and b/.vs/DigitalData.Core/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/DigitalData.Core/v17/.suo b/.vs/DigitalData.Core/v17/.suo index 1598b81..c014131 100644 Binary files a/.vs/DigitalData.Core/v17/.suo and b/.vs/DigitalData.Core/v17/.suo differ diff --git a/DigitalData.Core.Application/Flag.cs b/DigitalData.Core.Application/Flag.cs index 5c1bc3c..3f63070 100644 --- a/DigitalData.Core.Application/Flag.cs +++ b/DigitalData.Core.Application/Flag.cs @@ -14,6 +14,19 @@ /// /// Indicates a security breach or vulnerability has been detected during the service operation. /// - SecurityBreach + SecurityBreach, + + /// + /// Indicates a potential issue with data integrity during the service operation. + /// This flag is used when data may have been altered, corrupted, or is otherwise unreliable, + /// which could impact the accuracy or trustworthiness of the operation's results. + /// + DataIntegrityIssue, + + /// + /// Indicates that either a security breach, a data integrity issue, or both have been detected during the service operation. + /// This flag is used when one or both types of issues are present, requiring heightened attention to both security and data accuracy. + /// + SecurityBreachOrDataIntegrity } } \ No newline at end of file diff --git a/DigitalData.Core.Application/ServiceMessage.cs b/DigitalData.Core.Application/ServiceMessage.cs index d590bef..7e81d3a 100644 --- a/DigitalData.Core.Application/ServiceMessage.cs +++ b/DigitalData.Core.Application/ServiceMessage.cs @@ -51,7 +51,7 @@ namespace DigitalData.Core.Application /// This flag helps in categorizing the state of the operation more granularly. /// [JsonIgnore] - public Enum Flag { get; set; } = Application.Flag.Null; + public Enum? Flag { get; set; } = default; /// /// Checks if the current service message's flag matches the specified flag. @@ -59,7 +59,7 @@ namespace DigitalData.Core.Application /// /// The flag to check against the current service message's flag. /// true if the flags match; otherwise, false. - public bool HasFlag(Enum flag) => Flag.ToString() == flag.ToString(); + public bool HasFlag(Enum flag) => Flag?.ToString() == flag.ToString(); /// /// [Obsolete("Deprecated: Use ClientMessages instead.")] diff --git a/DigitalData.Core.Application/obj/Debug/net7.0/DigitalData.Core.Application.csproj.AssemblyReference.cache b/DigitalData.Core.Application/obj/Debug/net7.0/DigitalData.Core.Application.csproj.AssemblyReference.cache index 9653dc0..f70ad4a 100644 Binary files a/DigitalData.Core.Application/obj/Debug/net7.0/DigitalData.Core.Application.csproj.AssemblyReference.cache and b/DigitalData.Core.Application/obj/Debug/net7.0/DigitalData.Core.Application.csproj.AssemblyReference.cache differ diff --git a/DigitalData.Core.Contracts/Application/IServiceMessage.cs b/DigitalData.Core.Contracts/Application/IServiceMessage.cs index b1983ca..b6bb7bd 100644 --- a/DigitalData.Core.Contracts/Application/IServiceMessage.cs +++ b/DigitalData.Core.Contracts/Application/IServiceMessage.cs @@ -19,7 +19,7 @@ namespace DigitalData.Core.Contracts.Application /// This flag helps in categorizing the state of the operation more granularly. /// [JsonIgnore] - Enum Flag { get; set; } + Enum? Flag { get; set; } /// /// Checks if the current service message's flag matches the specified flag. diff --git a/DigitalData.Core.CultureServices/obj/Debug/net7.0/DigitalData.Core.CultureServices.csproj.AssemblyReference.cache b/DigitalData.Core.CultureServices/obj/Debug/net7.0/DigitalData.Core.CultureServices.csproj.AssemblyReference.cache index 35fb17f..9b74f89 100644 Binary files a/DigitalData.Core.CultureServices/obj/Debug/net7.0/DigitalData.Core.CultureServices.csproj.AssemblyReference.cache and b/DigitalData.Core.CultureServices/obj/Debug/net7.0/DigitalData.Core.CultureServices.csproj.AssemblyReference.cache differ diff --git a/DigitalData.Core.Infrastructure/obj/Debug/net7.0/DigitalData.Core.Infrastructure.csproj.AssemblyReference.cache b/DigitalData.Core.Infrastructure/obj/Debug/net7.0/DigitalData.Core.Infrastructure.csproj.AssemblyReference.cache index 66c2c58..879937b 100644 Binary files a/DigitalData.Core.Infrastructure/obj/Debug/net7.0/DigitalData.Core.Infrastructure.csproj.AssemblyReference.cache and b/DigitalData.Core.Infrastructure/obj/Debug/net7.0/DigitalData.Core.Infrastructure.csproj.AssemblyReference.cache differ