Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ChatHub"/> class.
        /// </summary>
        public ChatHub(
            IChatMessageManager chatMessageManager,
            ILocalizationManager localizationManager,
            IWindsorContainer windsorContainer,
            IOnlineClientManager <ChatChannel> onlineClientManager,
            IClientInfoProvider clientInfoProvider) : base(onlineClientManager, clientInfoProvider)
        {
            _chatMessageManager  = chatMessageManager;
            _localizationManager = localizationManager;
            _windsorContainer    = windsorContainer;

            Logger         = NullLogger.Instance;
            ChatAbpSession = NullAbpSession.Instance;
        }
Ejemplo n.º 2
0
 public LoginManager(
     IApplication application,
     AspUserManager <TRole, TUser, TModule> userManager,
     BaseModuleManager <TModule, TUser> moduleManager,
     IUnitOfWorkManager unitOfWorkManager,
     IBaseRepository <Sesion> sessionRepository,
     IPasswordManager <TUser> passwordManager)
 {
     this.application       = application;
     this.UserManager       = userManager;
     this.ModuleManager     = moduleManager;
     this.UnitOfWorkManager = unitOfWorkManager;
     this.SessionRepository = sessionRepository;
     ClientInfoProvider     = NullClientInfoProvider.Instance;
     this.PasswordManager   = passwordManager;
 }
        //private IIocResolver IocResolver { get; }

        public LogInManager(
            IRepository <SysUserInfo, long> userRepository,
            IRepository <SysUserLoginAtt, long> userLoginAttRepository,
            //IUserClaimsPrincipalFactory<UserInfo> claimsPrincipalFactory,
            IUnitOfWorkManager unitOfWorkManager
            //IIocResolver iocResolver

            )
        {
            _userRepository         = userRepository;
            _userLoginAttRepository = userLoginAttRepository;

            //_claimsPrincipalFactory = ;
            UnitOfWorkManager  = unitOfWorkManager;
            ClientInfoProvider = NullClientInfoProvider.Instance;
            //IocResolver = iocResolver;
        }
Ejemplo n.º 4
0
 public LoginManager(
     IRepository <Sys_Account> _accountRepository,
     IIocManager iocResolver,
     IRepository <Sys_UserRole> _userRoleRepository,
     IClientInfoProvider clientInfoProvider,
     IRepository <Sys_UserLogin> loginAttemptsRepository,
     IRepository <Sys_Account> accountRepository,
     IAuthenticationManager authenticationManager
     )
 {
     IocResolver              = iocResolver;
     _clientProvider          = clientInfoProvider;
     _loginAttemptsRepository = loginAttemptsRepository;
     userRoleRepository       = _userRoleRepository;
     this._accountRepository  = accountRepository;
     _authenticationManager   = authenticationManager;
 }
 /// <summary>
 /// 构造方法
 /// </summary>
 public Biz_CardInfoAppService(
     IRepository <Biz_CardInfo, long> biz_CardInfoRepository
     , IBiz_CardInfoListExcelExporter biz_CardInfoListExcelExporter
     , IBackgroundJobManager backgroundJobManager
     , IClientInfoProvider clientInfoProvider
     , IRepository <User, long> userRepository
     , IRepository <OrderDetail, long> orderDetailRepository
     , IRepository <CardIdCodes, long> cardIdCodesRepository
     )
 {
     _biz_CardInfoRepository        = biz_CardInfoRepository;
     _biz_CardInfoListExcelExporter = biz_CardInfoListExcelExporter;
     _backgroundJobManager          = backgroundJobManager;
     _clientInfoProvider            = clientInfoProvider;
     _userRepository        = userRepository;
     _orderDetailRepository = orderDetailRepository;
     _cardIdCodesRepository = cardIdCodesRepository;
 }
Ejemplo n.º 6
0
        public LogInManager(
            CommonFrameUserManager <TRole, TUser> userManager,
            IMultiTenancyConfig multiTenancyConfig,
            IRepository <TTenant> tenantRepository,
            IUnitOfWorkManager unitOfWorkManager,
            ISettingManager settingManager,
            IRepository <UserLoginAttempt, long> userLoginAttemptRepository,
            IUserManagementConfig userManagementConfig,
            IIocResolver iocResolver,
            CommonFrameRoleManager <TRole, TUser> roleManager)
        {
            _multiTenancyConfig         = multiTenancyConfig;
            _tenantRepository           = tenantRepository;
            _unitOfWorkManager          = unitOfWorkManager;
            _settingManager             = settingManager;
            _userLoginAttemptRepository = userLoginAttemptRepository;
            _userManagementConfig       = userManagementConfig;
            _iocResolver = iocResolver;
            _roleManager = roleManager;
            _userManager = userManager;

            ClientInfoProvider = NullClientInfoProvider.Instance;
        }
Ejemplo n.º 7
0
 public UserAppService(
     IRepository <User, long> repository,
     UserManager userManager,
     RoleManager roleManager,
     IRepository <Role> roleRepository,
     IPasswordHasher <User> passwordHasher,
     IAbpSession abpSession,
     LogInManager logInManager,
     ICacheManager cacheManager,
     //IEmailSender emailSender,
     IClientInfoProvider clientInfoProvider)
     : base(repository)
 {
     _userManager    = userManager;
     _roleManager    = roleManager;
     _roleRepository = roleRepository;
     _passwordHasher = passwordHasher;
     _abpSession     = abpSession;
     _logInManager   = logInManager;
     _cacheManager   = cacheManager;
     //_emailSender = emailSender;
     _clientInfoProvider = clientInfoProvider;
 }
Ejemplo n.º 8
0
 public BlogAppService(
     IRepository <Article, long> articleRepository,
     IRepository <ArticleComment, long> articleCommentRepository,
     IRepository <ArticleTag, long> articleTagRepository,
     IRepository <ArticleType> articleTypeRepository,
     IRepository <BlogProposal> blogProposalRepository,
     IRepository <FriendshipLink> blogFriendshipLinkRepository,
     UserManager userManager,
     ICacheManager cacheManager,
     IClientInfoProvider clientInfoProvider,
     IPermissionChecker permissionChecker)
 {
     _articleRepository            = articleRepository;
     _articleCommentRepository     = articleCommentRepository;
     _articleTagRepository         = articleTagRepository;
     _articleTypeRepository        = articleTypeRepository;
     _blogProposalRepository       = blogProposalRepository;
     _blogFriendshipLinkRepository = blogFriendshipLinkRepository;
     _userManager        = userManager;
     _cacheManager       = cacheManager;
     _clientInfoProvider = clientInfoProvider;
     _permissionChecker  = permissionChecker;
     AbpSession          = NullAbpSession.Instance;
 }
Ejemplo n.º 9
0
 public ChatHubMobile(IOnlineClientManager onlineClientManager, IClientInfoProvider clientInfoProvider, IWindsorContainer windsorContainer) : base(onlineClientManager, clientInfoProvider)
 {
     _windsorContainer = windsorContainer;
     Logger            = NullLogger.Instance;
     AbpSession        = NullAbpSession.Instance;
 }
 public SharePlatformCommonHub(IOnlineClientManager onlineClientManager, IClientInfoProvider clientInfoProvider)
     : base(onlineClientManager, clientInfoProvider)
 {
 }
Ejemplo n.º 11
0
 public DefaultAuditInfoProvider(IClientInfoProvider clientInfoProvider)
 {
     ClientInfoProvider = clientInfoProvider;
 }
Ejemplo n.º 12
0
 public AbpCommonHub(IOnlineClientManager onlineClientManager, IClientInfoProvider clientInfoProvider)
     : base(onlineClientManager, clientInfoProvider)
 {
 }
Ejemplo n.º 13
0
 public CNCHub(IOnlineClientManager onlineClientManager, IClientInfoProvider clientInfoProvider, IServiceProvider _service) :
     base(onlineClientManager, clientInfoProvider)
 {
     service = _service;
 }
Ejemplo n.º 14
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="iocResolver"></param>
 /// <param name="clientInfoProvider"></param>
 public WeChatAppPayTopayService(IIocResolver iocResolver, IClientInfoProvider clientInfoProvider) : base(iocResolver)
 {
     _clientInfoProvider = clientInfoProvider;
 }
 public DefaultAuditInfoProvider()
 {
     ClientInfoProvider = NullClientInfoProvider.Instance;
 }
Ejemplo n.º 16
0
 protected HistoryHelperBase()
 {
     Session            = NullSession <TUserKey> .Instance;
     ClientInfoProvider = NullClientInfoProvider.Instance;
 }
Ejemplo n.º 17
0
 public CncClientHub(IOnlineClientManager onlineClientManager, IServiceProvider _service, IClientInfoProvider clientInfoProvider) :
     base(onlineClientManager, clientInfoProvider)
 {
     service   = _service;
     hubClient = service.GetService(typeof(IHubContext <CNCHub>)) as IHubContext <CNCHub>;
 }
Ejemplo n.º 18
0
 public OnlineClientInfoProvider(IClientInfoProvider clientInfoProvider)
 {
     _clientInfoProvider = clientInfoProvider;
     AbpSession          = NullAbpSession.Instance;
     Logger = NullLogger.Instance;
 }
Ejemplo n.º 19
0
 public SyncHub(IOnlineClientManager onlineClientManager,
                IClientInfoProvider clientInfoProvider,
                IHubContext <SyncHub> context) : base(onlineClientManager, clientInfoProvider)
 {
     this.context = context;
 }
Ejemplo n.º 20
0
 public MyChatHub(IOnlineClientManager onlineClientManager, IClientInfoProvider clientInfoProvider)
     : base(onlineClientManager, clientInfoProvider)
 {
 }
Ejemplo n.º 21
0
 public AuditLogAppService(IRepository <AuditLog, long> auditLogRepository,
                           IClientInfoProvider clientInfoProvider)
 {
     _auditLogRepository = auditLogRepository;
     _clientInfoProvider = clientInfoProvider;
 }
Ejemplo n.º 22
0
 public APIClientRequestFilter(IClientInfoProvider HttpContextClientInfoProvider, IClientRequestLogService clientRequestLogService)
 {
     _HttpContextClientInfoProvider = HttpContextClientInfoProvider;
     _clientRequestLogService       = clientRequestLogService;
 }
Ejemplo n.º 23
0
 public VueErrorLogAppService(IClientInfoProvider clientInfoProvider)
 {
     _clientInfoProvider = clientInfoProvider;
 }
Ejemplo n.º 24
0
 public AprilAuditInfoProvider(IClientInfoProvider clientInfoProvider)
 {
     _clientInfoProvider = clientInfoProvider;
 }
 public OnlineClientInfoProvider(IClientInfoProvider clientInfoProvider)
 {
     _clientInfoProvider = clientInfoProvider;
     Logger = NullLogger.Instance;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="iocResolver"></param>
 /// <param name="clientInfoProvider"></param>
 public WeChatMiniprogramTopayService(IIocResolver iocResolver, IClientInfoProvider clientInfoProvider) : base(iocResolver)
 {
     _clientInfoProvider = clientInfoProvider;
 }
Ejemplo n.º 27
0
 public DefaultAuditInfoProvider()
 {
     ClientInfoProvider = NullClientInfoProvider.Instance;
 }
Ejemplo n.º 28
0
 public MessageHub(IMessageManager messageManager,
                   IOnlineClientManager onlineClientManager,
                   IClientInfoProvider clientProvider) : base(onlineClientManager, clientProvider)
 {
     _messageManager = messageManager;
 }