From dfa3cd1a5815abc2f809f6fe42e85e9b12c97d0f Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 30 Sep 2025 16:57:05 +0200 Subject: [PATCH] refactor(BaseDto): update to compile only in net --- DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs b/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs index e8ba82d..be95e45 100644 --- a/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs +++ b/DigitalData.Core.Abstraction.Application/DTO/BaseDto.cs @@ -1,4 +1,5 @@ -namespace DigitalData.Core.Abstraction.Application.DTO; +#if NET +namespace DigitalData.Core.Abstraction.Application.DTO; /// /// Represents a base Data Transfer Object (DTO) with an identifier. @@ -14,4 +15,5 @@ public record BaseDTO(TId Id) where TId : notnull /// /// A hash code for the current object, derived from the identifier. public override int GetHashCode() => Id.GetHashCode(); -} \ No newline at end of file +} +#endif \ No newline at end of file