Esempio n. 1
0
 public DepartmentService(
     IMSRepository <DepartmentEntity> _departmentRepo,
     IMSRepository <UserDepartmentEntity> _userDepartmentRepo,
     IMSRepository <DepartmentRoleEntity> _departmentRoleRepo) :
     base(_departmentRepo, _userDepartmentRepo, _departmentRoleRepo)
 {
 }
Esempio n. 2
0
 public OrgRoleService(
     IMSRepository <OrgRoleEntity> _orgRoleRepo,
     IStringArraySerializer permissionSerializer)
 {
     this._orgRoleRepo         = _orgRoleRepo;
     this.permissionSerializer = permissionSerializer;
 }
Esempio n. 3
0
 public InitDataHelper(IServiceProvider _provider, IMSRepository <AdminEntity> _repo, ILoginService <AdminEntity> _login, IPermissionService permission)
 {
     this._provider   = _provider;
     this._repo       = _repo;
     this._login      = _login;
     this._permission = permission;
 }
Esempio n. 4
0
 public MenuService(
     IMSRepository <MenuEntity> _menuRepo,
     IMSRepository <PermissionEntity> _perRepo) :
     base(_menuRepo)
 {
     this._perRepo = _perRepo;
 }
Esempio n. 5
0
 public UserLoginService(IServiceProvider provider,
                         IPasswordHelper passHelper,
                         IMobilePhoneFormatter _mobileFormatter,
                         IMSRepository <UserEntity> _userRepo) :
     base(provider, passHelper, _mobileFormatter, _userRepo)
 {
     //
 }
Esempio n. 6
0
 public AuthService(
     IEventPublisher _publisher,
     IMSRepository <AuthToken> _AuthTokenRepository,
     ICacheProvider _cache) :
     base(_AuthTokenRepository)
 {
     //
 }
Esempio n. 7
0
 public RoleService(
     IMSRepository <RoleEntity> _roleRepo,
     IMSRepository <UserRoleEntity> _userRoleRepo,
     IMSRepository <RolePermissionEntity> _rolePermissionRepo) :
     base(_roleRepo, _userRoleRepo, _rolePermissionRepo)
 {
     //
 }
Esempio n. 8
0
 public AdminService(
     IMSRepository <AdminEntity> _adminRepo,
     IMSRepository <AdminRoleEntity> _adminRoleRepo,
     IMSRepository <RoleEntity> _roleRepo)
 {
     this._adminRepo     = _adminRepo;
     this._adminRoleRepo = _adminRoleRepo;
     this._roleRepo      = _roleRepo;
 }
Esempio n. 9
0
 public RoleService(
     IMSRepository <RoleEntity> _roleRepo,
     IMSRepository <AdminRoleEntity> _userRoleRepo,
     IStringArraySerializer permissionSerializer)
 {
     this._roleRepo            = _roleRepo;
     this._userRoleRepo        = _userRoleRepo;
     this.permissionSerializer = permissionSerializer;
 }
Esempio n. 10
0
 public UserService(
     IMSRepository <UserEntity> _userRepo,
     IMSRepository <UserRoleEntity> _userRoleRepo,
     IMSRepository <RoleEntity> _roleRepo) :
     base(_userRepo)
 {
     this._userRoleRepo = _userRoleRepo;
     this._roleRepo     = _roleRepo;
 }
Esempio n. 11
0
 public DashboardService(
     IEpcRepository <CheckLogEntity> _logRepo,
     IEpcRepository <CheckLogItemEntity> _logItemRepo,
     IMSRepository <UserEntity> _userRepo)
 {
     this._logRepo     = _logRepo;
     this._logItemRepo = _logItemRepo;
     this._userRepo    = _userRepo;
 }
Esempio n. 12
0
 public OrgService(
     IMSRepository <OrganizationEntity> _orgRepo,
     IMSRepository <OrganizationMemberEntity> _orgMemberRepo,
     IMSRepository <UserEntity> _userRepo)
 {
     this._orgRepo       = _orgRepo;
     this._orgMemberRepo = _orgMemberRepo;
     this._userRepo      = _userRepo;
 }
Esempio n. 13
0
 public IssueService(
     IEpcRepository <IssueEntity> _issueRepo,
     IEpcRepository <IssueOperationLogEntity> _issueOperaRepo,
     IMSRepository <UserEntity> _userRepo)
 {
     this._issueRepo      = _issueRepo;
     this._issueOperaRepo = _issueOperaRepo;
     this._userRepo       = _userRepo;
 }
Esempio n. 14
0
 public AuthTokenService(
     ICacheProvider _cache,
     ICacheKeyManager _keyManager,
     IMSRepository <AuthTokenEntity> _tokenRepo)
 {
     this._cache      = _cache;
     this._keyManager = _keyManager;
     this._tokenRepo  = _tokenRepo;
 }
Esempio n. 15
0
 public UserLoginService(
     IMSRepository <UserEntity> _userRepo,
     IMSRepository <UserOneTimeCodeEntity> _oneTimeCodeRepo,
     IMSRepository <RolePermissionEntity> _rolePermissionRepo,
     IMSRepository <UserRoleEntity> _userRoleRepo,
     IMSRepository <PermissionEntity> _perRepo) :
     base(_userRepo, _oneTimeCodeRepo, _rolePermissionRepo, _userRoleRepo, _perRepo)
 {
     //
 }
Esempio n. 16
0
 public UserService(
     IServiceProvider provider,
     IMSRepository <UserEntity> _userRepo,
     IMSRepository <AdminRoleEntity> _userRoleRepo,
     IMSRepository <RoleEntity> _roleRepo) : base(provider, _userRepo)
 {
     this._userRepo     = _userRepo;
     this._userRoleRepo = _userRoleRepo;
     this._roleRepo     = _roleRepo;
 }
Esempio n. 17
0
        public ClearDataBaseService(
            IMSRepository <AuthToken> _AuthTokenRepo,

            IMSRepository <ReqLogEntity> _ReqLogModelRepo,
            IMSRepository <CacheHitLogEntity> _CacheHitLogRepo)
        {
            this._AuthTokenRepo = _AuthTokenRepo;

            this._ReqLogModelRepo = _ReqLogModelRepo;
            this._CacheHitLogRepo = _CacheHitLogRepo;
        }
Esempio n. 18
0
 public OrgService(
     IMSRepository <OrgEntity> _orgRepo,
     IMSRepository <OrgMemberEntity> _orgMemberRepo,
     IMSRepository <UserEntity> _userRepo,
     IMSRepository <OrgMemberRoleEntity> _orgMemberRoleRepo)
 {
     this._orgRepo           = _orgRepo;
     this._orgMemberRepo     = _orgMemberRepo;
     this._userRepo          = _userRepo;
     this._orgMemberRoleRepo = _orgMemberRoleRepo;
 }
Esempio n. 19
0
 protected LoginServiceBase(
     IServiceProvider provider,
     IPasswordHelper passHelper,
     IMobilePhoneFormatter _mobileFormatter,
     IMSRepository <T> _userRepo)
 {
     this.logger           = provider.Resolve_ <ILogger <LoginServiceBase <T> > >();
     this._passHelper      = passHelper;
     this._mobileFormatter = _mobileFormatter;
     this._userRepo        = _userRepo;
 }
Esempio n. 20
0
 public PermissionValidatorService(
     ICacheProvider _cache,
     ICacheKeyManager keyManager,
     IMSRepository <RoleEntity> _repo,
     IStringArraySerializer permissionSerializer)
 {
     this._cache               = _cache;
     this._keyManager          = keyManager;
     this._repo                = _repo;
     this.permissionSerializer = permissionSerializer;
 }
Esempio n. 21
0
 public AuthService(
     IEventPublisher _publisher,
     IMSRepository <AuthToken> _AuthTokenRepository,
     IMSRepository <AuthTokenScope> _AuthTokenScopeRepository,
     IMSRepository <AuthScope> _AuthScopeRepository,
     IMSRepository <AuthCode> _AuthCodeRepository,
     IMSRepository <AuthClient> _AuthClientRepository,
     ICacheProvider _cache) :
     base(_cache, _AuthClientRepository, _AuthScopeRepository, _AuthTokenRepository, _AuthCodeRepository, _AuthTokenScopeRepository)
 {
     //
 }
Esempio n. 22
0
        public TestController(
            IEventPublisher pub,
            IUserService _IUserService,
            IMSRepository <AuthClient> _clientRepo)
        {
            this._IEventPublisher = pub;
            this._IUserService    = _IUserService;
            this._clientRepo      = _clientRepo;

            this._IEventPublisher.Publish("发布一个垃圾消息");
            //new ArgumentNullException("发布一个垃圾消息").AddLog_("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
        }
Esempio n. 23
0
 public AuthApiService(
     IAuthLoginProvider _loginService,
     ICacheProvider _cache,
     IMSRepository <AuthClient> _clientRepo,
     IMSRepository <AuthScope> _scopeRepo,
     IMSRepository <AuthToken> _tokenRepo,
     IMSRepository <AuthCode> _codeRepo,
     IMSRepository <AuthTokenScope> _tokenScopeRepo) :
     base(_loginService, _cache, _clientRepo, _scopeRepo, _tokenRepo, _codeRepo, _tokenScopeRepo)
 {
     this.LogActor = new Lazy <IActorRef>(() => ActorsManager <CacheHitLogActor> .Instance.DefaultClient);
 }
Esempio n. 24
0
        public AuthApiProvider(
            ICacheProvider _cache,
            IMSRepository <AuthToken> _tokenRepo,

            IUserLoginService _login,
            IUserService _user) :
            base(_cache, _tokenRepo)
        {
            this._login = _login;
            this._user  = _user;

            this.LogActor = new Lazy <IActorRef>(() => ActorsManager <CacheHitLogActor> .Instance.DefaultClient);
        }
Esempio n. 25
0
 public CheckLogServiceBase(
     IEpcRepository <CheckLogEntity> _logRepo,
     IEpcRepository <CheckLogItemEntity> _logItemRepo,
     IEpcRepository <DeviceParameterEntity> _paramRepo,
     IEpcRepository <DeviceEntity> _deviceRepo,
     IMSRepository <UserEntity> _userRepo)
 {
     this._logRepo     = _logRepo;
     this._logItemRepo = _logItemRepo;
     this._paramRepo   = _paramRepo;
     this._deviceRepo  = _deviceRepo;
     this._userRepo    = _userRepo;
 }
Esempio n. 26
0
        public OrderService(
            IServiceProvider provider, IMetroAdRepository <OrderEntity> repo,
            IStringArraySerializer stringArraySerializer,
            IMetroAdDbFactory metroAdDbFactory,
            IMSRepository <UserEntity> _userRepo) : base(provider, repo)
        {
            this.stringArraySerializer = stringArraySerializer;
            this._dbFactory            = metroAdDbFactory;
            this._userRepo             = _userRepo;

            this._config = provider.ResolveConfig_();
            if (int.TryParse(this._config["order_no_len"] ?? "9", out var len))
            {
                len.Should().BeGreaterThan(5);
                this.OrderNoLength = len;
            }
        }
Esempio n. 27
0
 public MemberShipDashboardService(
     IMSRepository <OrganizationEntity> _orgRepo)
 {
     this._orgRepo = _orgRepo;
 }
Esempio n. 28
0
 public DeptService(IMSRepository <DepartmentEntity> _deptRepo)
 {
     this._deptRepo = _deptRepo;
 }
Esempio n. 29
0
 public AuthService() : base()
 {
     authRepository = new AuthRepository();
     iMSRepository  = new IMSRepository();
 }
Esempio n. 30
0
 public SystemService(
     IMSRepository <SystemEntity> _sysRepo)
 {
     this._sysRepo = _sysRepo;
 }