C# 클래스 EasyBike.Models.ContractService

상속: IContractService
파일 보기 프로젝트 열기: ThePublicBikeGang/EasyBike 1 사용 예제들

공개 메소드들

메소드 설명
AddContractAsync ( Contract contract ) : Task
AddStationToRefreshingPool ( Station station ) : void
ContractService ( ILocalisationService localisationService, IStorageService storageService ) : EasyBike.Models.Storage
GetContractsAsync ( ) : Task>
GetCountries ( ) : List
GetStations ( ) : List
RemoveAllContractsAsync ( ) : Task
RemoveContractAsync ( Contract contract ) : Task
RemoveStationFromRefreshingPool ( Station station ) : void

비공개 메소드들

메소드 설명
AggregateStations ( Contract contract ) : void
StartRefreshAsync ( ) : void
StartRefreshStationsAsync ( ) : void

메소드 상세

AddContractAsync() 공개 메소드

public AddContractAsync ( Contract contract ) : Task
contract Contract
리턴 Task

AddStationToRefreshingPool() 공개 메소드

public AddStationToRefreshingPool ( Station station ) : void
station Station
리턴 void

ContractService() 공개 메소드

public ContractService ( ILocalisationService localisationService, IStorageService storageService ) : EasyBike.Models.Storage
localisationService ILocalisationService
storageService IStorageService
리턴 EasyBike.Models.Storage

GetContractsAsync() 공개 메소드

public GetContractsAsync ( ) : Task>
리턴 Task>

GetCountries() 공개 메소드

public GetCountries ( ) : List
리턴 List

GetStations() 공개 메소드

public GetStations ( ) : List
리턴 List

RemoveAllContractsAsync() 공개 메소드

public RemoveAllContractsAsync ( ) : Task
리턴 Task

RemoveContractAsync() 공개 메소드

public RemoveContractAsync ( Contract contract ) : Task
contract Contract
리턴 Task

RemoveStationFromRefreshingPool() 공개 메소드

public RemoveStationFromRefreshingPool ( Station station ) : void
station Station
리턴 void