C# 클래스 StupendousCounter.Core.DatabaseHelper

상속: IDatabaseHelper
파일 보기 프로젝트 열기: jimbobbennett/StupendousCounter

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
OnCountersChanged ( ) : void

메소드 상세

AddOrUpdateCounterAsync() 공개 메소드

public AddOrUpdateCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
counter Counter
리턴 System.Threading.Tasks.Task

CreateDatabase() 공개 정적인 메소드

public static CreateDatabase ( string dbPath ) : void
dbPath string
리턴 void

DeleteCounterAsync() 공개 메소드

public DeleteCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
counter Counter
리턴 System.Threading.Tasks.Task

GetAllCountersAsync() 공개 메소드

public GetAllCountersAsync ( ) : Task>
리턴 Task>

GetCounterHistory() 공개 메소드

public GetCounterHistory ( int counterId ) : Task>
counterId int
리턴 Task>

IncrementCounterAsync() 공개 메소드

public IncrementCounterAsync ( Counter counter ) : System.Threading.Tasks.Task
counter Counter
리턴 System.Threading.Tasks.Task