C# Класс API.DataAccess.CacheManager

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
SetPlatformTags void
SetSchedule void
SetStaticData void

Открытые методы

Метод Описание
CacheManager ( AppSettings appSettings ) : API.Models
GetPlatformTagsAsync ( ) : Task

Gets the platform tag dictionary from the cache. May return an empty string if the cache expires.

GetScheduleAsync ( ) : Task

Gets schedule data from the cache. May return an empty string if the cache expires.

GetStaticDataAsync ( ) : Task

Gets static data from the cache. May return an empty string if the cache expires.

Приватные методы

Метод Описание
SetPlatformTags ( string platformTagsJson ) : void
SetSchedule ( string scheduleJson ) : void
SetStaticData ( string staticDataJson ) : void

Описание методов

CacheManager() публичный Метод

public CacheManager ( AppSettings appSettings ) : API.Models
appSettings AppSettings
Результат API.Models

GetPlatformTagsAsync() публичный Метод

Gets the platform tag dictionary from the cache. May return an empty string if the cache expires.
public GetPlatformTagsAsync ( ) : Task
Результат Task

GetScheduleAsync() публичный Метод

Gets schedule data from the cache. May return an empty string if the cache expires.
public GetScheduleAsync ( ) : Task
Результат Task

GetStaticDataAsync() публичный Метод

Gets static data from the cache. May return an empty string if the cache expires.
public GetStaticDataAsync ( ) : Task
Результат Task