コード例 #1
0
 public TokenService(
     APIProxyService http,
     ProbeLocator serviceLocation)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
 }
コード例 #2
0
 public UserImageGenerator(
     ProbeLocator probeLocator,
     UserManager <T> userManager)
 {
     _probeLocator = probeLocator;
     _userManager  = userManager;
 }
コード例 #3
0
ファイル: TokenService.cs プロジェクト: cc1993abc/Nexus
 public TokenService(
     HTTPService http,
     ProbeLocator serviceLocation)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
 }
コード例 #4
0
 public FoldersService(
     APIProxyService http,
     ProbeLocator serviceLocation)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
 }
コード例 #5
0
ファイル: ApiController.cs プロジェクト: Anduin2017/Blog
 public ApiController(
     UserManager <BlogUser> userManager,
     ProbeLocator probeLocator)
 {
     _userManager  = userManager;
     _probeLocator = probeLocator;
 }
コード例 #6
0
ファイル: SitesService.cs プロジェクト: ox208/Infrastructures
 public SitesService(
     APIProxyService http,
     ProbeLocator serviceLocation)
 {
     _http         = http;
     _probeLocator = serviceLocation;
 }
コード例 #7
0
 public HomeController(
     IWebHostEnvironment env,
     ServiceLocation serviceLocation,
     VersionService sdkVersion,
     IOptions <List <DomainSettings> > optionsAccessor,
     IConfiguration configuration,
     ProbeLocator probeLocator)
 {
     _env             = env;
     _serviceLocation = serviceLocation;
     _sdkVersion      = sdkVersion;
     _configuration   = configuration;
     _probeLocator    = probeLocator;
     _appDomain       = optionsAccessor.Value;
 }
コード例 #8
0
ファイル: FilesController.cs プロジェクト: supeng222/Nexus
 public FilesController(
     ProbeDbContext dbContext,
     FolderLocator folderLocator,
     FolderOperator folderCleaner,
     TokenEnsurer tokenEnsurer,
     ProbeLocator probeLocator,
     IStorageProvider storageProvider)
 {
     _dbContext       = dbContext;
     _folderLocator   = folderLocator;
     _tokenEnsurer    = tokenEnsurer;
     _probeLocator    = probeLocator;
     _storageProvider = storageProvider;
     _folderCleaner   = folderCleaner;
 }
コード例 #9
0
 public StorageController(
     UserManager <KahlaUser> userManager,
     KahlaDbContext dbContext,
     IConfiguration configuration,
     TokenService tokenService,
     AppsContainer appsContainer,
     ProbeLocator probeLocator,
     FilesService probeFileService)
 {
     _userManager      = userManager;
     _dbContext        = dbContext;
     _configuration    = configuration;
     _tokenService     = tokenService;
     _appsContainer    = appsContainer;
     _probeLocator     = probeLocator;
     _probeFileService = probeFileService;
 }
コード例 #10
0
 public FilesController(
     FolderSplitter folderLocator,
     TokenEnsurer tokenEnsurer,
     ProbeLocator probeLocator,
     IStorageProvider storageProvider,
     SiteRepo siteRepo,
     FolderRepo folderRepo,
     FileRepo fileRepo)
 {
     _folderSplitter  = folderLocator;
     _tokenEnsurer    = tokenEnsurer;
     _probeLocator    = probeLocator;
     _storageProvider = storageProvider;
     _siteRepo        = siteRepo;
     _folderRepo      = folderRepo;
     _fileRepo        = fileRepo;
 }
コード例 #11
0
 public Seeder(
     ServiceLocation serviceLocation,
     ObserverLocator observerLocator,
     StargateLocator stargateLocator,
     DeveloperLocator developerLocator,
     ArchonLocator archonLocator,
     ProbeLocator probeLocator,
     WrapgateLocator wrapgateLocator,
     StatusDbContext dbContext)
 {
     this.serviceLocation  = serviceLocation;
     this.observerLocator  = observerLocator;
     this.stargateLocator  = stargateLocator;
     this.developerLocator = developerLocator;
     this.archonLocator    = archonLocator;
     this.probeLocator     = probeLocator;
     this.wrapgateLocator  = wrapgateLocator;
     this.dbContext        = dbContext;
 }
コード例 #12
0
 public DownloadController(
     FolderSplitter folderLocator,
     ImageCompressor imageCompressor,
     TokenEnsurer tokenEnsurer,
     IStorageProvider storageProvider,
     FolderRepo folderRepo,
     FileRepo fileRepo,
     SiteRepo siteRepo,
     ProbeLocator probeLocator)
 {
     _folderSplitter   = folderLocator;
     _imageCompressor  = imageCompressor;
     _tokenEnsurer     = tokenEnsurer;
     _storageProvider  = storageProvider;
     _folderRepo       = folderRepo;
     _fileRepo         = fileRepo;
     _siteRepo         = siteRepo;
     this.probeLocator = probeLocator;
 }
コード例 #13
0
 public ConversationController(
     UserManager <KahlaUser> userManager,
     KahlaDbContext dbContext,
     KahlaPushService pushService,
     FoldersService foldersService,
     AppsContainer appsContainer,
     IConfiguration configuration,
     OnlineJudger onlineJudger,
     LastSaidJudger lastSaidJudger,
     ProbeLocator probeLocator)
 {
     _userManager    = userManager;
     _dbContext      = dbContext;
     _pusher         = pushService;
     _foldersService = foldersService;
     _appsContainer  = appsContainer;
     _configuration  = configuration;
     _onlineJudger   = onlineJudger;
     _lastSaidJudger = lastSaidJudger;
     _probeLocator   = probeLocator;
 }