C# Class Shared.Helpers.FeedbackThumbs

Afficher le fichier Open project: sealuzh/PersonalAnalytics Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateWindowsActivityTable ( ) : void
FeedbackThumbs ( ) : System

Method Details

GetFeedbackThumbsUpDown() public méthode

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
Résultat string

GetInstance() public static méthode

Singleton
public static GetInstance ( ) : FeedbackThumbs
Résultat FeedbackThumbs

SetFeedback() public méthode

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
Résultat void