C# 클래스 API.DataAccess.StorageManager

Container for functionality which handles Blob storage in Azure.
파일 보기 프로젝트 열기: RikkiGibson/Corvallis-Bus-Server 1 사용 예제들

공개 메소드들

메소드 설명
GetPlatformTagsAsync ( ) : Task
GetScheduleAsync ( ) : Task
GetStaticDataAsync ( ) : Task

Gets the JSON-encoded CTS routes from Azure.

SetPlatformTags ( string platformTagsJson ) : void

Puts a dictionary that takes a PlatformNo (5-digit number) to PlatformTag (3-digit number).

SetSchedule ( string scheduleJson ) : void
SetStaticData ( string staticDataJson ) : void

Puts a list of CTS Routes into an Azure Blob as JSON.

StorageManager ( AppSettings appSettings ) : API.Models

비공개 메소드들

메소드 설명
GetBlockBlob ( string blockBlobName ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob

Given the name of a block blob, gets a reference to allow read/write to that blob.

메소드 상세

GetPlatformTagsAsync() 공개 메소드

public GetPlatformTagsAsync ( ) : Task
리턴 Task

GetScheduleAsync() 공개 메소드

public GetScheduleAsync ( ) : Task
리턴 Task

GetStaticDataAsync() 공개 메소드

Gets the JSON-encoded CTS routes from Azure.
public GetStaticDataAsync ( ) : Task
리턴 Task

SetPlatformTags() 공개 메소드

Puts a dictionary that takes a PlatformNo (5-digit number) to PlatformTag (3-digit number).
public SetPlatformTags ( string platformTagsJson ) : void
platformTagsJson string
리턴 void

SetSchedule() 공개 메소드

public SetSchedule ( string scheduleJson ) : void
scheduleJson string
리턴 void

SetStaticData() 공개 메소드

Puts a list of CTS Routes into an Azure Blob as JSON.
public SetStaticData ( string staticDataJson ) : void
staticDataJson string
리턴 void

StorageManager() 공개 메소드

public StorageManager ( AppSettings appSettings ) : API.Models
appSettings AppSettings
리턴 API.Models