コード例 #1
0
 /// <summary>
 /// Invoke this method to open the feedback UI where a user can send you a message including image attachments over the HockeyApp feedback system.
 /// </summary>
 /// <param name="this"></param>
 /// <param name="initialUserName">[Optional] Username to prefill the name field</param>
 /// <param name="initialEMail">[Optional] Email to prefill the email field</param>
 public static void ShowFeedback(this IHockeyClient @this, string initialUserName = null, string initialEMail = null)
 {
     @this.AsInternal().CheckForInitialization();
     var flyout = new FeedbackFlyout();
     FeedbackManager.Current.InitialEmail = initialEMail;
     FeedbackManager.Current.InitialUsername = initialUserName;
     flyout.ShowIndependent();
     
 }
コード例 #2
0
 internal void CalledFromNewFlyout(FeedbackFlyout feedbackFlyout)
 {
     CurrentFlyout = feedbackFlyout;
     if (!this.FeedbackThreadList.Any())
     {
         this.FeedbackThreadList.Add(new FeedbackThreadVM());
     }
     this.SelectedFeedbackThread = this.FeedbackThreadList.First();
 }