Ejemplo n.º 1
0
 public static SignedFeed Run([NotNull] IOpenPgp openPgp, [CanBeNull] IWin32Window owner = null)
 {
     using (var wizard = new NewFeedWizard(openPgp))
     {
         wizard.ShowDialog(owner);
         return wizard._signedFeed;
     }
 }
Ejemplo n.º 2
0
 public static SignedFeed Run([NotNull] IOpenPgp openPgp, [CanBeNull] IWin32Window owner = null)
 {
     using (var wizard = new NewFeedWizard(openPgp))
     {
         wizard.ShowDialog(owner);
         return(wizard._signedFeed);
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Runs the wizard.
 /// </summary>
 /// <param name="openPgp">Used to get a list of <see cref="OpenPgpSecretKey"/>s.</param>
 /// <param name="owner">The parent window the displayed window is modal to; can be <c>null</c>.</param>
 /// <returns>The feed generated by the wizard; <c>null</c> if the user canceled.</returns>
 public static SignedFeed?Run(IOpenPgp openPgp, IWin32Window?owner = null)
 {
     using var wizard = new NewFeedWizard(openPgp);
     wizard.ShowDialog(owner);
     return(wizard._signedFeed);
 }