mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(dir): ♻ limit scope of Handlers and Profiles
This commit is contained in:
parent
b567696e2e
commit
e8561d616d
8 changed files with 16 additions and 16 deletions
|
|
@ -17,7 +17,7 @@ public class Query : IRequest<IEnumerable<LanguageVm>>
|
|||
{
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, IEnumerable<LanguageVm>>
|
||||
internal class Handler : IRequestHandler<Query, IEnumerable<LanguageVm>>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -40,7 +40,7 @@ public async Task<IEnumerable<LanguageVm>> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class LanguageVmProfile : Profile
|
||||
internal class LanguageVmProfile : Profile
|
||||
{
|
||||
public LanguageVmProfile()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public class Query : IRequest<IEnumerable<LicenseVm>>
|
|||
{
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, IEnumerable<LicenseVm>>
|
||||
internal class Handler : IRequestHandler<Query, IEnumerable<LicenseVm>>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -40,7 +40,7 @@ public async Task<IEnumerable<LicenseVm>> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class LicenseVmProfile : Profile
|
||||
internal class LicenseVmProfile : Profile
|
||||
{
|
||||
public LicenseVmProfile()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ public Query(int id)
|
|||
public int Id { get; }
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, ListDetailsVm>
|
||||
internal class Handler : IRequestHandler<Query, ListDetailsVm>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -44,7 +44,7 @@ public async Task<ListDetailsVm> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class ListDetailsVmProfile : Profile
|
||||
internal class ListDetailsVmProfile : Profile
|
||||
{
|
||||
public ListDetailsVmProfile()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public class Query : IRequest<IEnumerable<ListVm>>
|
|||
{
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, IEnumerable<ListVm>>
|
||||
internal class Handler : IRequestHandler<Query, IEnumerable<ListVm>>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -40,7 +40,7 @@ public async Task<IEnumerable<ListVm>> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class ListVmProfile : Profile
|
||||
internal class ListVmProfile : Profile
|
||||
{
|
||||
public ListVmProfile()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public class Query : IRequest<IEnumerable<MaintainerVm>>
|
|||
{
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, IEnumerable<MaintainerVm>>
|
||||
internal class Handler : IRequestHandler<Query, IEnumerable<MaintainerVm>>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -40,7 +40,7 @@ public async Task<IEnumerable<MaintainerVm>> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class MaintainerVmProfile : Profile
|
||||
internal class MaintainerVmProfile : Profile
|
||||
{
|
||||
public MaintainerVmProfile()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public class Query : IRequest<IEnumerable<SoftwareVm>>
|
|||
{
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, IEnumerable<SoftwareVm>>
|
||||
internal class Handler : IRequestHandler<Query, IEnumerable<SoftwareVm>>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -40,7 +40,7 @@ public async Task<IEnumerable<SoftwareVm>> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class SoftwareVmProfile : Profile
|
||||
internal class SoftwareVmProfile : Profile
|
||||
{
|
||||
public SoftwareVmProfile()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public class Query : IRequest<IEnumerable<SyntaxVm>>
|
|||
{
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, IEnumerable<SyntaxVm>>
|
||||
internal class Handler : IRequestHandler<Query, IEnumerable<SyntaxVm>>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -40,7 +40,7 @@ public async Task<IEnumerable<SyntaxVm>> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class SyntaxVmProfile : Profile
|
||||
internal class SyntaxVmProfile : Profile
|
||||
{
|
||||
public SyntaxVmProfile()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class Query : IRequest<IEnumerable<TagVm>>
|
|||
{
|
||||
}
|
||||
|
||||
public class Handler : IRequestHandler<Query, IEnumerable<TagVm>>
|
||||
internal class Handler : IRequestHandler<Query, IEnumerable<TagVm>>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -39,7 +39,7 @@ public async Task<IEnumerable<TagVm>> Handle(
|
|||
}
|
||||
}
|
||||
|
||||
public class TagVmProfile : Profile
|
||||
internal class TagVmProfile : Profile
|
||||
{
|
||||
public TagVmProfile()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue