Microsoft.HockeyApp.HockeyClientExtensionsWin81.ShowFeedback C# (CSharp) Méthode

ShowFeedback() public static méthode

Invoke this method to open the feedback UI where a user can send you a message including image attachments over the HockeyApp feedback system.
public static ShowFeedback ( this @this, string initialUserName = null, string initialEMail = null ) : void
@this this
initialUserName string [Optional] Username to prefill the name field
initialEMail string [Optional] Email to prefill the email field
Résultat void
        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();
            
        }