fix(Anwendung): Standard StringLocalizer auf null setzen, um die Abhängigkeit zu entfernen.

- Hochgestuft auf 3.1.2
This commit is contained in:
Developer 02
2025-01-20 14:41:29 +01:00
parent 3cf1215a1c
commit 59e8c6c0c6
4 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<PackageId>UserManager.Application</PackageId> <PackageId>UserManager.Application</PackageId>
<Version>3.1.1</Version> <Version>3.1.2</Version>
<Authors>Digital Data GmbH</Authors> <Authors>Digital Data GmbH</Authors>
<Company>Digital Data GmbH</Company> <Company>Digital Data GmbH</Company>
<Product>UserManager.Application</Product> <Product>UserManager.Application</Product>
@@ -14,8 +14,8 @@
<PackageIcon>icon.png</PackageIcon> <PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>http://git.dd:3000/AppStd/WebUserManager.git</RepositoryUrl> <RepositoryUrl>http://git.dd:3000/AppStd/WebUserManager.git</RepositoryUrl>
<PackageTags>digital data application user maanger</PackageTags> <PackageTags>digital data application user maanger</PackageTags>
<AssemblyVersion>3.1.1</AssemblyVersion> <AssemblyVersion>3.1.2</AssemblyVersion>
<FileVersion>3.1.1</FileVersion> <FileVersion>3.1.2</FileVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@@ -11,7 +11,7 @@ namespace DigitalData.UserManager.Application.Services
public class GroupService : BaseService<IGroupRepository, GroupCreateDto, GroupReadDto, Group>, IGroupService public class GroupService : BaseService<IGroupRepository, GroupCreateDto, GroupReadDto, Group>, IGroupService
{ {
private readonly IStringLocalizer<Resource>? _localizer; private readonly IStringLocalizer<Resource>? _localizer;
public GroupService(IGroupRepository repository, IStringLocalizer<Resource>? localizer, IMapper mapper) : base(repository, mapper) public GroupService(IGroupRepository repository, IMapper mapper, IStringLocalizer<Resource>? localizer = null) : base(repository, mapper)
{ {
_localizer = localizer; _localizer = localizer;
} }

View File

@@ -12,7 +12,7 @@ namespace DigitalData.UserManager.Application.Services
public class UserRepService : BaseService<IUserRepRepository, UserRepCreateDto, UserRepReadDto, UserRep>, IUserRepService public class UserRepService : BaseService<IUserRepRepository, UserRepCreateDto, UserRepReadDto, UserRep>, IUserRepService
{ {
private readonly IStringLocalizer<Resource>? _localizer; private readonly IStringLocalizer<Resource>? _localizer;
public UserRepService(IUserRepRepository repository, IStringLocalizer<Resource>? localizer, IMapper mapper) : base(repository, mapper) public UserRepService(IUserRepRepository repository, IMapper mapper, IStringLocalizer<Resource>? localizer = null) : base(repository, mapper)
{ {
_localizer = localizer; _localizer = localizer;
} }

View File

@@ -11,7 +11,7 @@ namespace DigitalData.UserManager.Application.Services
public class UserService : BaseService<IUserRepository, UserCreateDto, UserReadDto, User>, IUserService public class UserService : BaseService<IUserRepository, UserCreateDto, UserReadDto, User>, IUserService
{ {
private readonly IStringLocalizer<Resource>? _localizer; private readonly IStringLocalizer<Resource>? _localizer;
public UserService(IUserRepository repository, IStringLocalizer<Resource>? localizer, IMapper mapper) : base(repository, mapper) public UserService(IUserRepository repository, IMapper mapper, IStringLocalizer<Resource>? localizer = null) : base(repository, mapper)
{ {
_localizer = localizer; _localizer = localizer;
} }