コード例 #1
0
 public CrudService(
     AnyServiceConfig config,
     IRepository <TEntity> repository,
     CrudValidatorBase <TEntity> validator,
     WorkContext workContext,
     IModelPreparar <TEntity> modelPreparar,
     IEventBus eventBus,
     IFileStoreManager fileStoreManager,
     IFilterFactory filterFactory,
     IPermissionManager permissionManager,
     IEnumerable <EntityConfigRecord> entityConfigRecords,
     ILogger <CrudService <TEntity> > logger)
 {
     Logger                    = logger;
     Config                    = config;
     Repository                = repository;
     Validator                 = validator;
     WorkContext               = workContext;
     ModelPreparar             = modelPreparar;
     EventBus                  = eventBus;
     FileStorageManager        = fileStoreManager;
     FilterFactory             = filterFactory;
     PermissionManager         = permissionManager;
     CurrentEntityConfigRecord = entityConfigRecords.First(typeof(TEntity));
 }
        public TryToUpdateProfilePictureToCdnService(AbpTimer timer, IFileStoreManager fileStoreManager,
                                                     IRepository <User, long> usersRepository) : base(timer)
        {
            _fileStoreManager = fileStoreManager;
            _usersRepository  = usersRepository;

            Timer.Period = 10000;
        }
コード例 #3
0
ファイル: UserAppService.cs プロジェクト: periface/SapTam
 public UserAppService(IRepository <User, long> userRepository, IPermissionManager permissionManager, IFileStoreManager fileStoreManager, IUsersAppNotificationsSender usersAppNotificationsSender, UserNotificationManager userNotificationManager, ICinotamMailSender cinotamMailSender, ITemplateManager templateManager)
 {
     _userRepository              = userRepository;
     _permissionManager           = permissionManager;
     _fileStoreManager            = fileStoreManager;
     _usersAppNotificationsSender = usersAppNotificationsSender;
     _userNotificationManager     = userNotificationManager;
     _cinotamMailSender           = cinotamMailSender;
     _templateManager             = templateManager;
 }
コード例 #4
0
ファイル: PagesService.cs プロジェクト: periface/SapTam
 public PagesService(IPageManager pageManager,
                     IRepository <Page> pageRepository,
                     IRepository <Content> contentRepository,
                     IApplicationLanguageManager applicationLanguageManager,
                     ITemplateManager templateManager,
                     IRepository <Category> categoryRepository,
                     IRepository <DatabaseEntities.Pages.Entities.Chunk> chunkRepository, IFileStoreManager fileStoreManager)
 {
     _pageManager                = pageManager;
     _pageRepository             = pageRepository;
     _contentRepository          = contentRepository;
     _applicationLanguageManager = applicationLanguageManager;
     _templateManager            = templateManager;
     _categoryRepository         = categoryRepository;
     _chunkRepository            = chunkRepository;
     _fileStoreManager           = fileStoreManager;
     EventBus = NullEventBus.Instance;
 }
コード例 #5
0
 public FileManagerAppService(IFileStoreManager fileStoreManager)
 {
     _fileStoreManager = fileStoreManager;
 }
コード例 #6
0
 public FileController(IFileStoreManager fileStoreManager)
 {
     _fileStoreManager = fileStoreManager;
 }