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