static PlatformTestData()
 {
     if (UserChecker.ItIsMe())
     {
         Console.WriteLine(@"onDemand={0}", Enviro.SauceOnDemandBrowsers);
     }
 }
Exemple #2
0
 static SaucePlatform()
 {
     if (UserChecker.ItIsMe())
     {
         OnceOnlyMessages.OnDemand();
     }
 }
 public AccountController(UserManager <User> userManager,
                          SignInManager <User> signInManager, IStringLocalizer <AccountController> localizer,
                          UserChecker userChecker)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.localizer     = localizer;
     this.userChecker   = userChecker;
 }
 public AdminController(UserManager <User> userManager,
                        ApplicationDbContext context, UserChecker userChecker,
                        CollectionManager collectionService, IBlobService blobService)
 {
     this.userManager       = userManager;
     this.context           = context;
     this.userChecker       = userChecker;
     this.collectionService = collectionService;
     this.blobService       = blobService;
 }
 public ItemController(ApplicationDbContext context,
                       ItemManager itemManager, CollectionManager collectionManager,
                       TagManager tagManager, UserChecker userChecker,
                       IStringLocalizer <ItemController> localizer)
 {
     this.context           = context;
     this.itemManager       = itemManager;
     this.collectionManager = collectionManager;
     this.tagManager        = tagManager;
     this.userChecker       = userChecker;
     this.localizer         = localizer;
 }
Exemple #6
0
 public CollectionController(UserManager <User> userManager,
                             ApplicationDbContext context, UserChecker userChecker,
                             CollectionManager collectionService, IStringLocalizer <CollectionController> localizer,
                             IBlobService blobService)
 {
     this.userManager       = userManager;
     this.context           = context;
     this.userChecker       = userChecker;
     this.collectionService = collectionService;
     this.localizer         = localizer;
     this.blobService       = blobService;
 }