Add conditional compilation for IRepositoryFactory
Updated the namespace declaration in `IRepositoryFactory.cs` to support conditional compilation for .NET and .NET Framework. The `Get<TEntity>()` method now conditionally includes the `public` access modifier based on the target framework. Adjusted the interface structure to ensure proper compilation and organization.
This commit is contained in:
parent
d4d1d2b69f
commit
2cedfbe91b
@ -1,6 +1,18 @@
|
|||||||
namespace DigitalData.Core.Abstraction.Application.Repository;
|
namespace DigitalData.Core.Abstraction.Application.Repository
|
||||||
|
#if NET
|
||||||
|
;
|
||||||
|
#elif NETFRAMEWORK
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
public interface IRepositoryFactory
|
public interface IRepositoryFactory
|
||||||
{
|
{
|
||||||
public IRepository<TEntity> Get<TEntity>();
|
#if NET
|
||||||
|
public
|
||||||
|
#endif
|
||||||
|
IRepository<TEntity> Get<TEntity>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if NETFRAMEWORK
|
||||||
|
}
|
||||||
|
#endif
|
||||||
Loading…
x
Reference in New Issue
Block a user