Пример #1
0
        /// <summary>
        /// Displays a dialog allowing the user to sign a set of <see cref="Feed"/>s.
        /// </summary>
        /// <param name="files">The <see cref="Feed"/> files to be signed.</param>
        public static void Show([NotNull, ItemNotNull] IEnumerable<FileInfo> files)
        {
            #region Sanity checks
            if (files == null) throw new ArgumentNullException("files");
            #endregion

            using (var dialog = new MassSignForm(files))
                dialog.ShowDialog();
        }
Пример #2
0
        /// <summary>
        /// Displays a dialog allowing the user to sign a set of <see cref="Feed"/>s.
        /// </summary>
        /// <param name="files">The <see cref="Feed"/> files to be signed.</param>
        public static void Show(IEnumerable <FileInfo> files)
        {
            #region Sanity checks
            if (files == null)
            {
                throw new ArgumentNullException(nameof(files));
            }
            #endregion

            using var dialog = new MassSignForm(files);
            dialog.ShowDialog();
        }
Пример #3
0
        /// <summary>
        /// Displays a dialog allowing the user to sign a set of <see cref="Feed"/>s.
        /// </summary>
        /// <param name="files">The <see cref="Feed"/> files to be signed.</param>
        public static void Show([NotNull, ItemNotNull] IEnumerable <FileInfo> files)
        {
            #region Sanity checks
            if (files == null)
            {
                throw new ArgumentNullException("files");
            }
            #endregion

            using (var dialog = new MassSignForm(files))
                dialog.ShowDialog();
        }