コード例 #1
0
        public NotificationAppService(
            IRepository <NotificationInfo, Guid> notificationRepository,
            IRepository <TenantNotificationInfo, Guid> tenantNotificationRepository,
            IRepository <UserNotificationInfo, Guid> userNotificationRepository,
            IRepository <NotificationSubscriptionInfo, Guid> notificationSubscriptionRepository,

            INotificationDefinitionManager notificationDefinitionManager,
            INotificationPublisher notiticationPublisher,
            INotificationSubscriptionManager notificationSubscriptionManager,
            IUserNotificationManager userNotificationManager,

            ILocalizationContext localizationContext,
            SysObjectSettingManager sysObjectSettingManager)
            : base(sysObjectSettingManager)
        {
            _notificationRepository             = notificationRepository;
            _tenantNotificationRepository       = tenantNotificationRepository;
            _userNotificationRepository         = userNotificationRepository;
            _notificationSubscriptionRepository = notificationSubscriptionRepository;

            _notificationDefinitionManager   = notificationDefinitionManager;
            _notiticationPublisher           = notiticationPublisher;
            _userNotificationManager         = userNotificationManager;
            _localizationContext             = localizationContext;
            _notificationSubscriptionManager = notificationSubscriptionManager;
        }
コード例 #2
0
 protected ZeroCrudAppServiceBase(
     IRepository <TEntity, TPrimaryKey> repository,
     SysObjectSettingManager sysObjectSettingManager)
     : base(sysObjectSettingManager)
 {
     _Repository = repository;
 }
コード例 #3
0
ファイル: AccountAppService.cs プロジェクト: zchhaenngg/Adbp
 public AccountAppService(
     UserManager userManager,
     SysObjectSettingManager sysObjectSettingManager
     ) : base(sysObjectSettingManager)
 {
     _userManager = userManager;
 }
コード例 #4
0
 public GuestAppService(
     IRepository <Guest, long> guestRepository,
     SysObjectSettingManager sysObjectSettingManager,
     IEmailSender emailSender
     ) : base(guestRepository, sysObjectSettingManager)
 {
     _emailSender = emailSender;
 }
コード例 #5
0
        public ConfigurationAppService(
            ISettingDefinitionManager settingDefinitionManager,

            ILocalizationContext localizationContext,
            SysObjectSettingManager sysObjectSettingManager
            ) : base(sysObjectSettingManager)
        {
            _settingDefinitionManager = settingDefinitionManager;
            _localizationContext      = localizationContext;
        }
コード例 #6
0
ファイル: AnalasyAppService.cs プロジェクト: zchhaenngg/Adbp
 public AnalasyAppService(
     IRepository <AuditLog, long> auditLogRepository,
     IRepository <UserLoginAttempt, long> userLoginAttemptRepository,
     IRepository <User, long> userRepository,
     SysObjectSettingManager sysObjectSettingManager
     ) : base(sysObjectSettingManager)
 {
     _auditLogRepository         = auditLogRepository;
     _userLoginAttemptRepository = userLoginAttemptRepository;
     _userRepository             = userRepository;
 }
コード例 #7
0
        public ApplicationLanguageTextAppService(
            ILocalizationManager localizationManager,
            ILanguageManager languageManager,
            IApplicationLanguageTextManager applicationLanguageTextManager,

            IRepository <ApplicationLanguageText, long> repository,
            SysObjectSettingManager sysObjectSettingManager)
            : base(sysObjectSettingManager)
        {
            _localizationManager            = localizationManager;
            _languageManager                = languageManager;
            _applicationLanguageTextManager = applicationLanguageTextManager;
            _repository = repository;
        }
コード例 #8
0
ファイル: UserAppService.cs プロジェクト: zchhaenngg/Adbp
        public UserAppService(
            IRepository <LoginAgent, long> loginAgentRepository,
            IRepository <User, long> userRepository,
            IRepository <Role> roleRepository,
            UserManager userManager,
            RoleManager roleManager,

            INotificationPublisher notiticationPublisher,
            SysObjectSettingManager sysObjectSettingManager
            ) : base(sysObjectSettingManager)
        {
            _loginAgentRepository  = loginAgentRepository;
            _userRepository        = userRepository;
            _roleRepository        = roleRepository;
            _userManager           = userManager;
            _roleManager           = roleManager;
            _notiticationPublisher = notiticationPublisher;
        }
コード例 #9
0
ファイル: RoleAppService.cs プロジェクト: zchhaenngg/Adbp
        public RoleAppService(
            IRepository <User, long> userRepository,
            IRepository <UserRole, long> userRoleRepository,
            IRepository <Role> roleRepository,
            IRepository <RolePermissionSetting, long> rolePermissionSettingRepository,

            UserManager userManager,
            RoleManager roleManager,
            SysObjectSettingManager sysObjectSettingManager
            ) : base(sysObjectSettingManager)
        {
            _userRepository     = userRepository;
            _userRoleRepository = userRoleRepository;
            _roleRepository     = roleRepository;
            _rolePermissionSettingRepository = rolePermissionSettingRepository;
            _userManager = userManager;
            _roleManager = roleManager;
        }
コード例 #10
0
 public OrganizationUnitAppService(
     IRepository <OrganizationUnit, long> organizationUnitRepository,
     IRepository <ZeroUserOrganizationUnit, long> zeroUserOrganizationUnit,
     IRepository <User, long> userRepository,
     IRepository <UserOrganizationUnit, long> userOrganizationUnitRepository,
     OrganizationUnitManager organizationUnitManager,
     ZeroOrganizationUnitManager zeroOrganizationUnitManager,
     UserManager userManager,
     SysObjectSettingManager sysObjectSettingManager
     ) : base(sysObjectSettingManager)
 {
     _organizationUnitRepository         = organizationUnitRepository;
     _zeroUserOrganizationUnitRepository = zeroUserOrganizationUnit;
     _userRepository = userRepository;
     _userOrganizationUnitRepository = userOrganizationUnitRepository;
     _organizationUnitManager        = organizationUnitManager;
     _zeroOrganizationUnitManager    = zeroOrganizationUnitManager;
     _userManager = userManager;
 }
コード例 #11
0
 protected ProjectNameAppServiceBase(SysObjectSettingManager sysObjectSettingManager)
     : base(sysObjectSettingManager)
 {
     LocalizationSourceName = ProjectNameConsts.LocalizationSourceName;
 }
コード例 #12
0
 protected ZeroAppServiceBase(SysObjectSettingManager sysObjectSettingManager)
 {
     LocalizationSourceName   = ZeroConsts.LocalizationSourceName;
     AsyncQueryableExecuter   = NullAsyncQueryableExecuter.Instance;
     _sysObjectSettingManager = sysObjectSettingManager;
 }