C# Class Netsy.UI.DispatchedServices.DispatchedFeedbackService

Feedback service wrapped to use a dispatcher To put the results back on the Dispatcher's thread
Inheritance: DispatchedService, IFeedbackService
Datei anzeigen Open project: AnthonySteele/Netsy

Public Methods

Method Description
DispatchedFeedbackService ( IFeedbackService wrappedService, Dispatcher dispatcher ) : System

Initializes a new instance of the DispatchedFeedbackService class

GetFeedback ( int feedbackId ) : IAsyncResult

Get a feedback record

GetFeedbackAsBuyer ( int userId, int offset, int limit ) : IAsyncResult

Get a list of all feedback where the user was a buyer in the transaction.

GetFeedbackAsBuyer ( string userName, int offset, int limit ) : IAsyncResult

Get a list of all feedback where the user was a buyer in the transaction.

GetFeedbackAsSeller ( int userId, int offset, int limit ) : IAsyncResult

Get a list of all feedback where the user was a seller in the transaction.

GetFeedbackAsSeller ( string userName, int offset, int limit ) : IAsyncResult

Get a list of all feedback where the user was a seller in the transaction.

GetFeedbackForOthers ( int userId, int offset, int limit ) : IAsyncResult

Get a list of all feedback that the user left feedback for someone else.

GetFeedbackForOthers ( string userName, int offset, int limit ) : IAsyncResult

Get a list of all feedback that the user left feedback for someone else.

GetFeedbackForUser ( int userId, int offset, int limit ) : IAsyncResult

Get a list of all feedback for a particular user.

GetFeedbackForUser ( string userName, int offset, int limit ) : IAsyncResult

Get a list of all feedback for a particular user.

Method Details

DispatchedFeedbackService() public method

Initializes a new instance of the DispatchedFeedbackService class
public DispatchedFeedbackService ( IFeedbackService wrappedService, Dispatcher dispatcher ) : System
wrappedService IFeedbackService the wrapped service
dispatcher System.Windows.Threading.Dispatcher the thread dispatcher
return System

GetFeedback() public method

Get a feedback record
public GetFeedback ( int feedbackId ) : IAsyncResult
feedbackId int the id of the record
return IAsyncResult

GetFeedbackAsBuyer() public method

Get a list of all feedback where the user was a buyer in the transaction.
public GetFeedbackAsBuyer ( int userId, int offset, int limit ) : IAsyncResult
userId int the user's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult

GetFeedbackAsBuyer() public method

Get a list of all feedback where the user was a buyer in the transaction.
public GetFeedbackAsBuyer ( string userName, int offset, int limit ) : IAsyncResult
userName string the user's name
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult

GetFeedbackAsSeller() public method

Get a list of all feedback where the user was a seller in the transaction.
public GetFeedbackAsSeller ( int userId, int offset, int limit ) : IAsyncResult
userId int the user's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult

GetFeedbackAsSeller() public method

Get a list of all feedback where the user was a seller in the transaction.
public GetFeedbackAsSeller ( string userName, int offset, int limit ) : IAsyncResult
userName string the user's name
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult

GetFeedbackForOthers() public method

Get a list of all feedback that the user left feedback for someone else.
public GetFeedbackForOthers ( int userId, int offset, int limit ) : IAsyncResult
userId int the user's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult

GetFeedbackForOthers() public method

Get a list of all feedback that the user left feedback for someone else.
public GetFeedbackForOthers ( string userName, int offset, int limit ) : IAsyncResult
userName string the user's name
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult

GetFeedbackForUser() public method

Get a list of all feedback for a particular user.
public GetFeedbackForUser ( int userId, int offset, int limit ) : IAsyncResult
userId int the user's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult

GetFeedbackForUser() public method

Get a list of all feedback for a particular user.
public GetFeedbackForUser ( string userName, int offset, int limit ) : IAsyncResult
userName string the user's name
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
return IAsyncResult