InMemoryUserInfoCache - класс

In-memory cache with UserInfo objects associated with respective handler types IUserInfoHandler.

Definition

Пространство имён: Tessa.Roles.UserInfo
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
public sealed class InMemoryUserInfoCache : IUserInfoCache
Inheritance
Object    InMemoryUserInfoCache
Implements
IUserInfoCache

Конструкторы

InMemoryUserInfoCache In-memory cache with UserInfo objects associated with respective handler types IUserInfoHandler.

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
InvalidateAsync Invalidates all user info records from the cache.
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
SetUserInfoAsync Adds to the cache user info userInfo for handler type type.
ToStringReturns a string that represents the current object.
(Унаследован от Object)
TryGetUserInfoAsync Returns user info from the cache by user's identifier userID and handler type type. Returns null if requested info isn't cached.

См. также