示例#1
0
 public CachedMobileAppInstallRegistrator(MobileAppInstallRegistrator registrator, TimeSpan cacheExpiration, TenantManager tenantManager, ICache cache)
 {
     Cache                = cache;
     TenantManager        = tenantManager;
     this.registrator     = registrator ?? throw new ArgumentNullException("registrator");
     this.cacheExpiration = cacheExpiration;
 }
示例#2
0
 public CachedMobileAppInstallRegistrator(MobileAppInstallRegistrator registrator, TenantManager tenantManager, ICache cache)
     : this(registrator, TimeSpan.FromMinutes(30), tenantManager, cache)
 {
 }