public CachedUniqueKeyPerUser_Tests()
        {
            user1 = CreateUser("User1");
            user2 = CreateUser("User2");

            AbpSession.UserId   = user1.Id;
            AbpSession.TenantId = user1.TenantId;

            _cachedUniqueKeyPerUser = Resolve <ICachedUniqueKeyPerUser>();
            _cacheManager           = Resolve <ICacheManager>();
        }
Exemplo n.º 2
0
        public CachedUniqueKeyPerUser_Tests()
        {
            user1 = AsyncHelper.RunSync(() => CreateUser("User1"));
            user2 = AsyncHelper.RunSync(() => CreateUser("User2"));

            AbpSession.UserId   = user1.Id;
            AbpSession.TenantId = user1.TenantId;

            _cachedUniqueKeyPerUser = Resolve <ICachedUniqueKeyPerUser>();
            _cacheManager           = Resolve <ICacheManager>();
        }
Exemplo n.º 3
0
 public AspNetCoreGetScriptsResponsePerUserCacheInvalidator(ICachedUniqueKeyPerUser cachedUniqueKeyPerUser)
 {
     _cachedUniqueKeyPerUser = cachedUniqueKeyPerUser;
 }