Пример #1
0
 public GitHubRenderer(
     HTTPService http,
     AiurCache cache)
 {
     _http  = http;
     _cache = cache;
 }
Пример #2
0
 public AuthController(
     ServiceLocation serviceLocation,
     IWebHostEnvironment env,
     AuthService <KahlaUser> authService,
     UserManager <KahlaUser> userManager,
     SignInManager <KahlaUser> signInManager,
     UserService userService,
     AppsContainer appsContainer,
     KahlaPushService pusher,
     ChannelService channelService,
     VersionChecker version,
     KahlaDbContext dbContext,
     IOptions <List <DomainSettings> > optionsAccessor,
     AiurCache cache)
 {
     _serviceLocation = serviceLocation;
     _env             = env;
     _authService     = authService;
     _userManager     = userManager;
     _signInManager   = signInManager;
     _userService     = userService;
     _appsContainer   = appsContainer;
     _pusher          = pusher;
     _channelService  = channelService;
     _version         = version;
     _dbContext       = dbContext;
     _cache           = cache;
     _appDomains      = optionsAccessor.Value;
 }
Пример #3
0
 public ApiController(
     DeveloperDbContext context,
     AiurCache cache)
 {
     _dbContext = context;
     _cache     = cache;
 }
Пример #4
0
 public DiskAccess(
     IConfiguration configuration,
     AiurCache aiurCache)
 {
     _configuration = configuration;
     _cache         = aiurCache;
 }
Пример #5
0
 public APIController(
     ACTokenManager tokenManager,
     DeveloperApiService developerApiService,
     AiurCache cache)
 {
     _tokenManager        = tokenManager;
     _developerApiService = developerApiService;
     _cache = cache;
 }
Пример #6
0
 public SearchController(
     SearchService searchService,
     WWWDbContext dbContext,
     AiurCache cahce)
 {
     _searchService = searchService;
     _dbContext     = dbContext;
     _cahce         = cahce;
 }
 public DeveloperApiService(
     DeveloperLocator serviceLocation,
     APIProxyService http,
     AiurCache cache)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
     _cache           = cache;
 }
Пример #8
0
 public FolderOperator(
     ProbeDbContext dbContext,
     IConfiguration configuration,
     AiurCache cache)
 {
     _dbContext     = dbContext;
     _configuration = configuration;
     _cache         = cache;
 }
Пример #9
0
 public HomeController(
     VersionChecker version,
     VersionService versionService,
     AiurCache cache,
     ServiceLocation serviceLocation)
 {
     _version         = version;
     _versionService  = versionService;
     _cache           = cache;
     _serviceLocation = serviceLocation;
 }
Пример #10
0
 public RecordsController(
     DeveloperDbContext dbContext,
     AppsContainer appsContainer,
     RecordsService recordsService,
     AiurCache cache)
 {
     _dbContext      = dbContext;
     _appsContainer  = appsContainer;
     _recordsService = recordsService;
     _cache          = cache;
 }
Пример #11
0
 public SearchController(
     SearchService searchService,
     WWWDbContext dbContext,
     BingTranslator bingTranslator,
     AiurCache cache)
 {
     _searchService  = searchService;
     _dbContext      = dbContext;
     _bingTranslator = bingTranslator;
     _cache          = cache;
 }
Пример #12
0
 public AiurUploader(
     AppsContainer appsContainer,
     TokenService tokenService,
     SitesService sitesService,
     AiurCache aiurCache)
 {
     _appsContainer = appsContainer;
     _tokenService  = tokenService;
     _sitesService  = sitesService;
     _aiurCache     = aiurCache;
 }
Пример #13
0
 public GrantChecker(
     GatewayDbContext context,
     DeveloperApiService developerApiService,
     ACTokenManager tokenManager,
     AiurCache aiurCache)
 {
     _dbContext           = context;
     _developerApiService = developerApiService;
     _tokenManager        = tokenManager;
     _aiurCache           = aiurCache;
 }
Пример #14
0
 public APIController(
     IConfiguration configuration,
     HomeService homeService,
     HTTPService httpService,
     AiurCache cache,
     VersionChecker version)
 {
     _configuration = configuration;
     _homeService   = homeService;
     _httpService   = httpService;
     _cache         = cache;
     _version       = version;
 }
Пример #15
0
 public ApiController(
     UserManager <DeveloperUser> userManager,
     SignInManager <DeveloperUser> signInManager,
     ILoggerFactory loggerFactory,
     DeveloperDbContext context,
     AiurCache cache)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = loggerFactory.CreateLogger <ApiController>();
     _dbContext     = context;
     _cache         = cache;
 }
Пример #16
0
        public DiskAccess(
            IConfiguration configuration,
            AiurCache aiurCache)
        {
            _path = configuration["StoragePath"] + $"{_}Storage{_}";
            var tempFilePath = configuration["TempFileStoragePath"];

            if (string.IsNullOrWhiteSpace(tempFilePath))
            {
                tempFilePath = configuration["StoragePath"];
            }
            _trashPath = tempFilePath + $"{_}TrashBin{_}";
            _cache     = aiurCache;
        }
Пример #17
0
 public DashboardController(
     SitesService sitesService,
     AppsContainer appsContainer,
     UserManager <AiurDriveUser> userManager,
     FoldersService foldersService,
     FilesService filesService,
     AiurCache cache)
 {
     _sitesService   = sitesService;
     _appsContainer  = appsContainer;
     _userManager    = userManager;
     _foldersService = foldersService;
     _filesService   = filesService;
     _cache          = cache;
 }
Пример #18
0
 public SitesController(
     DeveloperDbContext dbContext,
     AppsContainer appsContainer,
     SitesService sitesService,
     FoldersService foldersService,
     FilesService filesService,
     AiurCache cache)
 {
     _dbContext      = dbContext;
     _appsContainer  = appsContainer;
     _sitesService   = sitesService;
     _foldersService = foldersService;
     _filesService   = filesService;
     _cache          = cache;
 }
Пример #19
0
 public AccountController(
     UserManager <AccountUser> userManager,
     AccountSmsSender smsSender,
     UserService userService,
     AppsContainer appsContainer,
     IConfiguration configuration,
     DeveloperApiService developerApiSerivce,
     AuthService <AccountUser> authService,
     IEnumerable <IAuthProvider> authProviders,
     AiurCache cache)
 {
     _userManager         = userManager;
     _smsSender           = smsSender;
     _userService         = userService;
     _appsContainer       = appsContainer;
     _configuration       = configuration;
     _developerApiService = developerApiSerivce;
     _authService         = authService;
     _authProviders       = authProviders;
     _cache = cache;
 }
 public MockDeveloperApiService(
     DeveloperLocator serviceLocation,
     APIProxyService http,
     AiurCache cache) : base(serviceLocation, http, cache)
 {
 }