Beispiel #1
0
        public void Feedback(FeedbackRatingType ratingType, string comment)
        {
            this.addTime();

            this.iDeviceService.Log
            (
                new Feedback()
            {
                ApplicationId       = applicationId,
                DeviceId            = deviceId,
                Message             = comment,
                Rating              = ratingType,
                ScreenName          = this.lastScreen,
                SessionId           = sessionId,
                DateCreatedOnDevice = timeWhenUsed,
                Version             = version,
                Date        = this.timeWhenUsed.Date,
                DateCreated = this.timeWhenUsed
            }
            );
        }
        public void Feedback(FeedbackRatingType ratingType, string comment)
        {
            this.addTime();

            this.iDeviceService.Log
                (
                    new Feedback()
                    {
                        ApplicationId = applicationId,
                        DeviceId = deviceId,
                        Message = comment,
                        Rating = ratingType,
                        ScreenName = this.lastScreen,
                        SessionId = sessionId,
                        DateCreatedOnDevice = timeWhenUsed,
                        Version = version,
                        Date = this.timeWhenUsed.Date,
                        DateCreated = this.timeWhenUsed
                    }
                );
        }
Beispiel #3
0
 public Feedback(NameValueCollection keyValues)
     : base(keyValues)
 {
     this.Message = keyValues[Keys.FEEDBACK_MESSAGE];
     this.Rating  = (FeedbackRatingType)int.Parse(keyValues[Keys.FEEDBACK_RATING_TYPE]);
 }