Add .NET Framework support in Extensions.cs

Introduce conditional compilation directives for the .NET Framework, including necessary using statements and a modified namespace declaration. Add a closing brace for the class definition to ensure compatibility across different target frameworks.
This commit is contained in:
Developer 02 2025-09-30 17:50:53 +02:00
parent 2cedfbe91b
commit 28e415dee1

View File

@ -1,7 +1,19 @@
using System.Linq.Expressions;
using DigitalData.Core.Abstractions.Interfaces;
#if NETFRAMEWORK
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Linq;
#endif
namespace DigitalData.Core.Abstraction.Application.Repository;
namespace DigitalData.Core.Abstraction.Application.Repository
#if NET
;
#elif NETFRAMEWORK
{
#endif
public static class Extensions
{
@ -61,3 +73,7 @@ public static class Extensions
#endregion
#endregion
}
#if NETFRAMEWORK
}
#endif