public FoldersMenuViewComponent(ISyncthingContextFactory syncthingContextFactory, IAuthorizer authorizer, ICommandFactory commandFactory, UserManager <ApplicationUser> userManager)
 {
     this.syncthingContextFactory = syncthingContextFactory;
     this.authorizer     = authorizer;
     this.commandFactory = commandFactory;
     _userManager        = userManager;
 }
示例#2
0
 public DefaultSyncthingFileFetcher(ISyncthingContextFactory syncthingContextFactory)
 {
     this.syncthingContextFactory = syncthingContextFactory;
 }
 public HomeController(ISyncthingContextFactory syncthingContextFactory, UserManager <ApplicationUser> userManager)
 {
     this.syncthingContextFactory = syncthingContextFactory;
     this.userManager             = userManager;
 }
 public HomeController(ISyncthingContextFactory syncthingContextFactory, ICache cache, ILogger <HomeController> logger)
 {
     this.syncthingContextFactory = syncthingContextFactory;
     this.cache  = cache;
     this.logger = logger;
 }
 public HomeController(ISyncthingContextFactory syncthingContextFactory)
 {
     this.syncthingContextFactory = syncthingContextFactory;
 }
示例#6
0
 public UpdateGeneralSettingsCommand(ICache cache, ISyncthingContextFactory scf)
 {
     this.cache = cache;
     this.scf   = scf;
 }