C# 클래스 PhoneApp1.AuthenticatedUser

파일 보기 프로젝트 열기: totobogy/ReadmillDotNet

공개 메소드들

메소드 설명
AddBookToLocalCollection ( Book book ) : void

Must only be called after the actual operation on Readmill has succeeded. This is only an optimization to avoid extra web service call

GetMeAsync ( bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task
GetReadingForBook ( string bookId ) : Reading
HasBook ( string bookId, bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task
HasHighlight ( string highlightId, bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task
LoadCollectedBooksAsync ( bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task>
LoadCollectedHighlightsAsync ( List highlightIds, bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task>
RemoveBookFromLocalCollection ( string bookId ) : void

Must only be called after the actual operation on Readmill has succeeded. This is only an optimization to avoid extra web service call

TryCollectHighlight ( Highlight highlight ) : void

Must only be called after the actual operation on Readmill has succeeded.

TryLoadCollectedHighlightsList ( bool forceRefresh = false ) : List
TryRemoveHighlight ( string id ) : void

Must only be called after the actual operation on Readmill has succeeded

TrySaveCollectedHighlightsLocally ( ) : bool

비공개 메소드들

메소드 설명
AuthenticatedUser ( ) : System

메소드 상세

AddBookToLocalCollection() 공개 메소드

Must only be called after the actual operation on Readmill has succeeded. This is only an optimization to avoid extra web service call
public AddBookToLocalCollection ( Book book ) : void
book Com.Readmill.Api.DataContracts.Book
리턴 void

GetMeAsync() 공개 메소드

public GetMeAsync ( bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task
forceRefresh bool
cancelToken System.Threading.CancellationToken
리턴 Task

GetReadingForBook() 공개 메소드

public GetReadingForBook ( string bookId ) : Reading
bookId string
리턴 Com.Readmill.Api.DataContracts.Reading

HasBook() 공개 메소드

public HasBook ( string bookId, bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task
bookId string
forceRefresh bool
cancelToken System.Threading.CancellationToken
리턴 Task

HasHighlight() 공개 메소드

public HasHighlight ( string highlightId, bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task
highlightId string
forceRefresh bool
cancelToken System.Threading.CancellationToken
리턴 Task

LoadCollectedBooksAsync() 공개 메소드

public LoadCollectedBooksAsync ( bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task>
forceRefresh bool
cancelToken System.Threading.CancellationToken
리턴 Task>

LoadCollectedHighlightsAsync() 공개 메소드

public LoadCollectedHighlightsAsync ( List highlightIds, bool forceRefresh = false, CancellationToken cancelToken = default(CancellationToken) ) : Task>
highlightIds List
forceRefresh bool
cancelToken System.Threading.CancellationToken
리턴 Task>

RemoveBookFromLocalCollection() 공개 메소드

Must only be called after the actual operation on Readmill has succeeded. This is only an optimization to avoid extra web service call
public RemoveBookFromLocalCollection ( string bookId ) : void
bookId string
리턴 void

TryCollectHighlight() 공개 메소드

Must only be called after the actual operation on Readmill has succeeded.
public TryCollectHighlight ( Highlight highlight ) : void
highlight Com.Readmill.Api.DataContracts.Highlight
리턴 void

TryLoadCollectedHighlightsList() 공개 메소드

public TryLoadCollectedHighlightsList ( bool forceRefresh = false ) : List
forceRefresh bool
리턴 List

TryRemoveHighlight() 공개 메소드

Must only be called after the actual operation on Readmill has succeeded
public TryRemoveHighlight ( string id ) : void
id string
리턴 void

TrySaveCollectedHighlightsLocally() 공개 메소드

public TrySaveCollectedHighlightsLocally ( ) : bool
리턴 bool