Preparing xPushService ...
This commit is contained in:
@@ -17,25 +17,26 @@ using xPushService.Interfaces;
|
||||
|
||||
namespace xPushService.Base
|
||||
{
|
||||
public abstract class XBaseDtoProvider<TEntity, TDto, TKey> : IXBaseDtoProvider<TEntity, TDto, TKey>
|
||||
public abstract class XBaseDtoProvider<TEntity, TDto, TKey, THub> : IXBaseDtoProvider<TEntity, TDto, TKey, THub>
|
||||
where TEntity : XBaseEntity<TKey>
|
||||
where TDto : XBaseEntityDto<TKey>
|
||||
where THub : XBaseDtoHub<TEntity, TDto, TKey>
|
||||
{
|
||||
//
|
||||
#region Properties ...
|
||||
public IHubContext<THub> Hub { get; }
|
||||
public IXIdentityProvider IdentityProvider { get; }
|
||||
public XDataServiceConfiguration DataConfiguration { get; }
|
||||
public IHubContext<XBaseDtoHub<TEntity, TDto, TKey>> Hub { get; }
|
||||
public IXBaseRepositoryService<TEntity, TDto, TKey> Service { get; }
|
||||
#endregion
|
||||
|
||||
//
|
||||
#region Constructor ...
|
||||
protected XBaseDtoProvider(
|
||||
IXIdentityProvider identityProvider,
|
||||
IHubContext<THub> hub,
|
||||
XDataServiceConfiguration dataConfiguration,
|
||||
IHubContext<XBaseDtoHub<TEntity, TDto, TKey>> hub,
|
||||
IXBaseRepositoryService<TEntity, TDto, TKey> service
|
||||
IXBaseRepositoryService<TEntity, TDto, TKey> service,
|
||||
IXIdentityProvider identityProvider = null
|
||||
)
|
||||
{
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user