Exemple #1
0
        /// <inheritdoc/>
        public override void Output <T>(string title, IEnumerable <T> data)
        {
            #region Sanity checks
            if (title == null)
            {
                throw new ArgumentNullException(nameof(title));
            }
            if (data == null)
            {
                throw new ArgumentNullException(nameof(data));
            }
            #endregion

            ThreadUtils.RunSta(() => OutputGridBox.Show(null, title, data));
        }
Exemple #2
0
        /// <inheritdoc/>
        public override void Output <T>(string title, IEnumerable <T> data)
        {
            #region Sanity checks
            if (title == null)
            {
                throw new ArgumentNullException(nameof(title));
            }
            if (data == null)
            {
                throw new ArgumentNullException(nameof(data));
            }
            #endregion

            _owner.Invoke(() => OutputGridBox.Show(_owner, title, data));
        }