C# Class EasyBike.Models.ContractService

Inheritance: IContractService
Afficher le fichier Open project: ThePublicBikeGang/EasyBike Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
AggregateStations ( Contract contract ) : void
StartRefreshAsync ( ) : void
StartRefreshStationsAsync ( ) : void

Method Details

AddContractAsync() public méthode

public AddContractAsync ( Contract contract ) : Task
contract Contract
Résultat Task

AddStationToRefreshingPool() public méthode

public AddStationToRefreshingPool ( Station station ) : void
station Station
Résultat void

ContractService() public méthode

public ContractService ( ILocalisationService localisationService, IStorageService storageService ) : EasyBike.Models.Storage
localisationService ILocalisationService
storageService IStorageService
Résultat EasyBike.Models.Storage

GetContractsAsync() public méthode

public GetContractsAsync ( ) : Task>
Résultat Task>

GetCountries() public méthode

public GetCountries ( ) : List
Résultat List

GetStations() public méthode

public GetStations ( ) : List
Résultat List

RemoveAllContractsAsync() public méthode

public RemoveAllContractsAsync ( ) : Task
Résultat Task

RemoveContractAsync() public méthode

public RemoveContractAsync ( Contract contract ) : Task
contract Contract
Résultat Task

RemoveStationFromRefreshingPool() public méthode

public RemoveStationFromRefreshingPool ( Station station ) : void
station Station
Résultat void