C# Class StupendousCounter.Core.DatabaseHelper

Inheritance: IDatabaseHelper
Afficher le fichier Open project: jimbobbennett/StupendousCounter

Méthodes publiques

Méthode Description
AddOrUpdateCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
CreateDatabase ( string dbPath ) : void
DeleteCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
GetAllCountersAsync ( ) : Task>
GetCounterHistory ( int counterId ) : Task>
IncrementCounterAsync ( Counter counter ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
OnCountersChanged ( ) : void

Method Details

AddOrUpdateCounterAsync() public méthode

public AddOrUpdateCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
counter Counter
Résultat System.Threading.Tasks.Task

CreateDatabase() public static méthode

public static CreateDatabase ( string dbPath ) : void
dbPath string
Résultat void

DeleteCounterAsync() public méthode

public DeleteCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
counter Counter
Résultat System.Threading.Tasks.Task

GetAllCountersAsync() public méthode

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

GetCounterHistory() public méthode

public GetCounterHistory ( int counterId ) : Task>
counterId int
Résultat Task>

IncrementCounterAsync() public méthode

public IncrementCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
counter Counter
Résultat System.Threading.Tasks.Task