C# 클래스 API.DataAccess.CacheManager

파일 보기 프로젝트 열기: RikkiGibson/Corvallis-Bus-Server 1 사용 예제들

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