C# Class slimCat.Services.FlistService

F-list connection is used to authenticate the user's details and then get the API ticket. Responds to LoginEvent, fires off LoginCompleteEvent
Inheritance: IListConnection
显示文件 Open project: WreckedAvent/slimCat

Public Methods

Method Description
FlistService ( IAccount model, IEventAggregator eventagg, IBrowseThings browser, IGetTickets ticketService, IFriendRequestService requestService ) : System
GetTicket ( bool _ ) : void
UploadLog ( ReportModel report, IEnumerable log ) : int

Private Methods

Method Description
DoApiAction ( string apiName, object>.IDictionary command ) : void
HandleCommand ( object>.IDictionary command ) : void
Log ( string text ) : void

Method Details

FlistService() public method

public FlistService ( IAccount model, IEventAggregator eventagg, IBrowseThings browser, IGetTickets ticketService, IFriendRequestService requestService ) : System
model IAccount
eventagg IEventAggregator
browser IBrowseThings
ticketService IGetTickets
requestService IFriendRequestService
return System

GetTicket() public method

public GetTicket ( bool _ ) : void
_ bool
return void

UploadLog() public method

public UploadLog ( ReportModel report, IEnumerable log ) : int
report ReportModel
log IEnumerable
return int