Exemplo n.º 1
0
        /// <summary>
        /// Конструктор
        /// </summary>
        /// <param name="context"></param>
        /// <param name="application"></param>
        public BaseCltService(ICrocoAmbientContextAccessor context, ICrocoApplication application) : base(context, application)
        {
            var settingsFactory = Application.SettingsFactory;

            RolesSetting = settingsFactory.GetSetting <CltRolesSetting>();
            RootSettings = settingsFactory.GetSetting <RootSettings>();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="contextAccessor"></param>
 /// <param name="application"></param>
 /// <param name="principalCheker"></param>
 /// <param name="usersStorage"></param>
 public DayTasksService(ICrocoAmbientContextAccessor contextAccessor,
                        ICrocoApplication application,
                        PrincipalCheker principalCheker,
                        IUsersStorage usersStorage) : base(contextAccessor, application, principalCheker)
 {
     UsersStorage = usersStorage;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="contextAccessor"></param>
 /// <param name="application"></param>
 /// <param name="principalCheker"></param>
 /// <param name="dayTasksService"></param>
 public DayTaskCommentService(ICrocoAmbientContextAccessor contextAccessor,
                              ICrocoApplication application,
                              PrincipalCheker principalCheker,
                              DayTasksService dayTasksService) : base(contextAccessor, application, principalCheker)
 {
     DayTasksService = dayTasksService;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 /// <param name="userManager"></param>
 public PasswordForgotService(ICrocoAmbientContextAccessor context,
                              ICrocoApplication application,
                              UserManager <ApplicationUser> userManager
                              ) : base(context, application)
 {
     UserManager = userManager;
 }
Exemplo n.º 5
0
        /// <summary>
        /// Конструктора
        /// </summary>
        /// <param name="roleManager"></param>
        /// <param name="context"></param>
        /// <param name="application"></param>
        /// <param name="logger"></param>
        public RoleService(
            RoleManager <ApplicationRole> roleManager,

            ICrocoAmbientContextAccessor context,
            ICrocoApplication application, ILogger <RoleService> logger) : base(context, application, logger)
        {
            RoleManager = roleManager;
        }
Exemplo n.º 6
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 /// <param name="userManager"></param>
 /// <param name="signInManager"></param>
 /// <param name="userSearcher"></param>
 public PasswordChanger(ICrocoAmbientContextAccessor context, ICrocoApplication application,
                        UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager,
                        UserSearcher userSearcher) : base(context, application)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
     UserSearcher  = userSearcher;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContextAccessor"></param>
 /// <param name="application"></param>
 /// <param name="fileQueryService"></param>
 /// <param name="emailSender"></param>
 public EmailWrapperSender(ICrocoAmbientContextAccessor ambientContextAccessor,
                           ICrocoApplication application,
                           IDbFileQueryService fileQueryService,
                           IEmailSender emailSender) : base(ambientContextAccessor, application)
 {
     FileQueryService = fileQueryService;
     EmailSender      = emailSender;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 /// <param name="logger"></param>
 /// <param name="fileMasterStorage"></param>
 /// <param name="eccFileService"></param>
 public EccExportFileService(ICrocoAmbientContextAccessor context,
                             ICrocoApplication application,
                             ILogger <EccExportFileService> logger,
                             IFileMasterStorage fileMasterStorage,
                             EccFileService eccFileService) : base(context, application, logger)
 {
     FileMasterStorage = fileMasterStorage;
     EccFileService    = eccFileService;
 }
Exemplo n.º 9
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 /// <param name="userMasterStorage"></param>
 /// <param name="userService"></param>
 /// <param name="logger"></param>
 public UserExportService(ICrocoAmbientContextAccessor context,
                          ICrocoApplication application,
                          IUserMasterStorage userMasterStorage,
                          UserService userService,
                          ILogger <UserExportService> logger) : base(context, application, logger)
 {
     UserMasterStorage = userMasterStorage;
     UserService       = userService;
 }
Exemplo n.º 10
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="app"></param>
 /// <param name="clientDataRefresher"></param>
 /// <param name="fileChecker"></param>
 /// <param name="dbFileManager"></param>
 /// <param name="relationManager"></param>
 public ClientService(ICrocoAmbientContextAccessor ambientContext,
                      ICrocoApplication app,
                      IClientDataRefresher clientDataRefresher,
                      FileChecker fileChecker,
                      IDbFileQueryService dbFileManager,
                      IDbFileRelationManager relationManager) : base(ambientContext, app)
 {
     ClientDataRefresher   = clientDataRefresher;
     FileChecker           = fileChecker;
     FilesQueryService     = dbFileManager;
     DbFileRelationManager = relationManager;
 }
Exemplo n.º 11
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 /// <param name="signInManager"></param>
 /// <param name="userSearcher"></param>
 /// <param name="passwordHashValidator"></param>
 /// <param name="authenticationManager"></param>
 /// <param name="logger"></param>
 public AccountLoginService(ICrocoAmbientContextAccessor ambientContext,
                            ICrocoApplication application,
                            SignInManager <ApplicationUser> signInManager,
                            UserSearcher userSearcher,
                            PasswordHashValidator passwordHashValidator,
                            IApplicationAuthenticationManager authenticationManager,
                            ILogger <AccountLoginService> logger) : base(ambientContext, application, logger)
 {
     SignInManager         = signInManager;
     UserSearcher          = userSearcher;
     PasswordHashValidator = passwordHashValidator;
     AuthenticationManager = authenticationManager;
 }
Exemplo n.º 12
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 /// <param name="userManager"></param>
 /// <param name="signInManager"></param>
 /// <param name="userSearcher"></param>
 /// <param name="passwordValidator"></param>
 /// <param name="logger"></param>
 public AccountRegistrationService(ICrocoAmbientContextAccessor ambientContext,
                                   ICrocoApplication application,
                                   UserManager <ApplicationUser> userManager,
                                   SignInManager <ApplicationUser> signInManager,
                                   UserSearcher userSearcher,
                                   CltPasswordValidator passwordValidator,
                                   ILogger <AccountRegistrationService> logger) : base(ambientContext, application, logger)
 {
     UserManager       = userManager;
     SignInManager     = signInManager;
     UserSearcher      = userSearcher;
     PasswordValidator = passwordValidator;
 }
Exemplo n.º 13
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 /// <param name="userMasterStorage"></param>
 public UserService(ICrocoAmbientContextAccessor context, ICrocoApplication application,
                    IUserMasterStorage userMasterStorage) : base(context, application)
 {
     UserMasterStorage = userMasterStorage;
 }
Exemplo n.º 14
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 /// <param name="logger"></param>
 public ApplicationChatService(ICrocoAmbientContextAccessor ambientContext,
                               ICrocoApplication application,
                               ILogger <ApplicationChatService> logger) : base(ambientContext, application, logger)
 {
 }
Exemplo n.º 15
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContextAccessor"></param>
 /// <param name="application"></param>
 /// <param name="settings"></param>
 public EmailLinkFunctionInvoker(ICrocoAmbientContextAccessor ambientContextAccessor,
                                 ICrocoApplication application, EccSettings settings) : base(ambientContextAccessor, application)
 {
     UrlRedirectFormat = settings.FunctionInvokerSettings.UrlRedirectFormat;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 /// <param name="userSearcher"></param>
 public UserService(ICrocoAmbientContextAccessor ambientContext,
                    ICrocoApplication application,
                    UserSearcher userSearcher) : base(ambientContext, application)
 {
     UserSearcher = userSearcher;
 }
Exemplo n.º 17
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 /// <param name="oneSignalClient"></param>
 public IntegratedAppWorker(ICrocoAmbientContextAccessor ambientContext,
                            ICrocoApplication application, OneSignalClient oneSignalClient) : base(ambientContext, application)
 {
     OneSignalClient = oneSignalClient;
 }
Exemplo n.º 18
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 public EmailTemplatesWorker(ICrocoAmbientContextAccessor ambientContext, ICrocoApplication application) : base(ambientContext, application)
 {
 }
Exemplo n.º 19
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="app"></param>
 /// <param name="userManager"></param>
 public UserRoleService(ICrocoAmbientContextAccessor ambientContext, ICrocoApplication app,
                        UserManager <ApplicationUser> userManager)
     : base(ambientContext, app)
 {
     UserManager = userManager;
 }
Exemplo n.º 20
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 public UserNotificationsQueryService(ICrocoAmbientContextAccessor context, ICrocoApplication application) : base(context, application)
 {
 }
Exemplo n.º 21
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="app"></param>
 public UserSearcher(ICrocoAmbientContextAccessor ambientContext, ICrocoApplication app) : base(ambientContext, app)
 {
 }
Exemplo n.º 22
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="app"></param>
 /// <param name="roleManager"></param>
 /// <param name="userManager"></param>
 public AccountInitiator(ICrocoAmbientContextAccessor ambientContext, ICrocoApplication app,
                         RoleService roleManager, UserManager <ApplicationUser> userManager) : base(ambientContext, app)
 {
     RoleService = roleManager;
     UserManager = userManager;
 }
Exemplo n.º 23
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 public ApplicationInteractionWorker(ICrocoAmbientContextAccessor ambientContext, ICrocoApplication application) : base(ambientContext, application)
 {
 }
Exemplo n.º 24
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 public EmailGroupFromFileCreator(ICrocoAmbientContextAccessor context,
                                  ICrocoApplication application) : base(context, application)
 {
 }
Exemplo n.º 25
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 public EmailGroupQueryWorker(ICrocoAmbientContextAccessor context, ICrocoApplication application) : base(context, application)
 {
 }
Exemplo n.º 26
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 public SmsMessageWorker(ICrocoAmbientContextAccessor ambientContext, ICrocoApplication application) : base(ambientContext, application)
 {
 }
Exemplo n.º 27
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 /// <param name="logger"></param>
 public ChatQueryService(ICrocoAmbientContextAccessor context,
                         ICrocoApplication application,
                         ILogger <ChatQueryService> logger) : base(context, application, logger)
 {
 }
Exemplo n.º 28
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="ambientContext"></param>
 /// <param name="application"></param>
 /// <param name="emailSender"></param>
 public MailMessageSender(ICrocoAmbientContextAccessor ambientContext,
                          ICrocoApplication application,
                          EmailWrapperSender emailSender) : base(ambientContext, application)
 {
     EmailSender = emailSender;
 }
Exemplo n.º 29
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="app"></param>
 public MessageDistributionQueryWorker(ICrocoAmbientContextAccessor context, ICrocoApplication app) : base(context, app)
 {
 }
Exemplo n.º 30
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="context"></param>
 /// <param name="application"></param>
 public ClientExtraPropService(ICrocoAmbientContextAccessor context, ICrocoApplication application) : base(context, application)
 {
 }