C# Class API.DataAccess.CacheManager

Afficher le fichier Open project: RikkiGibson/Corvallis-Bus-Server Class Usage Examples

Private Properties

Свойство Type Description
SetPlatformTags void
SetSchedule void
SetStaticData void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
SetPlatformTags ( string platformTagsJson ) : void
SetSchedule ( string scheduleJson ) : void
SetStaticData ( string staticDataJson ) : void

Method Details

CacheManager() public méthode

public CacheManager ( AppSettings appSettings ) : API.Models
appSettings AppSettings
Résultat API.Models

GetPlatformTagsAsync() public méthode

Gets the platform tag dictionary from the cache. May return an empty string if the cache expires.
public GetPlatformTagsAsync ( ) : Task
Résultat Task

GetScheduleAsync() public méthode

Gets schedule data from the cache. May return an empty string if the cache expires.
public GetScheduleAsync ( ) : Task
Résultat Task

GetStaticDataAsync() public méthode

Gets static data from the cache. May return an empty string if the cache expires.
public GetStaticDataAsync ( ) : Task
Résultat Task