Пример #1
0
 public MetaManager(ILogger <MetaManager> logger,
                    IDdbManager ddbManager, IAuthManager authManager, IUtils utils)
 {
     _logger      = logger;
     _ddbManager  = ddbManager;
     _utils       = utils;
     _authManager = authManager;
 }
Пример #2
0
 public SystemManager(IAuthManager authManager,
                      RegistryContext context, IDdbManager ddbManager, ILogger <SystemManager> logger,
                      IObjectsManager objectManager, IOptions <AppSettings> settings)
 {
     _authManager   = authManager;
     _context       = context;
     _ddbManager    = ddbManager;
     _logger        = logger;
     _objectManager = objectManager;
     _settings      = settings.Value;
 }
Пример #3
0
 public WebUtils(IAuthManager authManager,
                 RegistryContext context,
                 IOptions <AppSettings> settings,
                 IHttpContextAccessor accessor, IDdbManager ddbManager)
 {
     _authManager = authManager;
     _context     = context;
     _accessor    = accessor;
     _ddbManager  = ddbManager;
     _settings    = settings.Value;
 }
Пример #4
0
 public PushManager(IUtils utils, IDdbManager ddbManager,
                    IObjectsManager objectsManager, ILogger <PushManager> logger, IDatasetsManager datasetsManager,
                    IAuthManager authManager,
                    IBackgroundJobsProcessor backgroundJob, IOptions <AppSettings> settings)
 {
     _utils           = utils;
     _ddbManager      = ddbManager;
     _objectsManager  = objectsManager;
     _logger          = logger;
     _datasetsManager = datasetsManager;
     _authManager     = authManager;
     _backgroundJob   = backgroundJob;
     _settings        = settings.Value;
 }
Пример #5
0
 public DatasetsManager(
     RegistryContext context,
     IUtils utils,
     ILogger <DatasetsManager> logger,
     IObjectsManager objectsManager,
     IDdbManager ddbManager, IAuthManager authManager)
 {
     _context        = context;
     _utils          = utils;
     _logger         = logger;
     _objectsManager = objectsManager;
     _ddbManager     = ddbManager;
     _authManager    = authManager;
 }
Пример #6
0
        public FileStreamDescriptor(string name, string contentType, string orgSlug, Guid internalRef, string[] paths, string[] folders,
                                    FileDescriptorType descriptorType, ILogger <ObjectsManager> logger, IDdbManager ddbManager)
        {
            _orgSlug        = orgSlug;
            _internalRef    = internalRef;
            _paths          = paths;
            _folders        = folders;
            _descriptorType = descriptorType;
            _logger         = logger;
            _ddbManager     = ddbManager;
            Name            = name;
            ContentType     = contentType;

            _ddb = ddbManager.Get(orgSlug, internalRef);
        }
Пример #7
0
 public ObjectsManager(ILogger <ObjectsManager> logger,
                       RegistryContext context,
                       IOptions <AppSettings> settings,
                       IDdbManager ddbManager,
                       IUtils utils,
                       IAuthManager authManager,
                       ICacheManager cacheManager,
                       IFileSystem fs,
                       IBackgroundJobsProcessor backgroundJob)
 {
     _logger        = logger;
     _context       = context;
     _ddbManager    = ddbManager;
     _utils         = utils;
     _authManager   = authManager;
     _cacheManager  = cacheManager;
     _fs            = fs;
     _backgroundJob = backgroundJob;
     _settings      = settings.Value;
 }
Пример #8
0
 public DdbHealthCheck(IDdbManager ddbManager)
 {
     _ddbManager = ddbManager;
 }