CardSingletonCache - класс

Потокобезопасный кэш с карточками-синглтонами и дополнительными настройками.

Definition

Пространство имён: Tessa.Cards.Caching
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public sealed class CardSingletonCache : ICardCache
Inheritance
Object    CardSingletonCache
Implements
ICardCache

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

CardSingletonCache Создаёт экземпляр класса с указанием требуемых зависимостей.

Свойства

CardsКэш карточек, доступных по строковому ключу.
SettingsКэш настроек, доступных по строковому ключу и функции заполнения значения, отсутствующего в кэше.

Методы

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Сбрасывает локальный кэш.
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

Методы расширения

GetTimeZoneNameByIDAsync Retrieves the time zone short name associated with a given time zone identifier.
(Определяется ApiAccessTokenHelper)
GetTimeZoneUtcOffsetByIDAsync Retrieves the UTC offset in minutes for a given time zone identifier.
(Определяется ApiAccessTokenHelper)

См. также