C# Class Shared.Helpers.FeedbackThumbs

Mostra file Open project: sealuzh/PersonalAnalytics Class Usage Examples

Public Methods

Method Description
GetFeedbackThumbsUpDown ( IVisualization vis, DateTimeOffset date ) : string

Get html to add on each visualization dashboard item to show thumbs up/down for feedback

GetInstance ( ) : FeedbackThumbs

Singleton

SetFeedback ( VisType type, DateTimeOffset date, string visName, int up, int down ) : void

Save thumbs up or down for selected visualization (type & date)

Private Methods

Method Description
CreateWindowsActivityTable ( ) : void
FeedbackThumbs ( ) : System

Method Details

GetFeedbackThumbsUpDown() public method

Get html to add on each visualization dashboard item to show thumbs up/down for feedback
public GetFeedbackThumbsUpDown ( IVisualization vis, DateTimeOffset date ) : string
vis IVisualization
date DateTimeOffset
return string

GetInstance() public static method

Singleton
public static GetInstance ( ) : FeedbackThumbs
return FeedbackThumbs

SetFeedback() public method

Save thumbs up or down for selected visualization (type & date)
public SetFeedback ( VisType type, DateTimeOffset date, string visName, int up, int down ) : void
type VisType
date DateTimeOffset
visName string
up int
down int
return void