コード例 #1
0
 static PlatformTestData()
 {
     if (UserChecker.ItIsMe())
     {
         Console.WriteLine(@"onDemand={0}", Enviro.SauceOnDemandBrowsers);
     }
 }
コード例 #2
0
 static SaucePlatform()
 {
     if (UserChecker.ItIsMe())
     {
         OnceOnlyMessages.OnDemand();
     }
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 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;
 }
コード例 #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;
 }