CCT.NUI.TestDataCollector.TestDepthFrameRepository.LoadMany C# (CSharp) Method

LoadMany() public method

public LoadMany ( ) : IEnumerable
return IEnumerable
        public IEnumerable<TestDepthFrame> LoadMany()
        {
            using (var dialog = new System.Windows.Forms.OpenFileDialog())
            {
                dialog.Filter = this.fileDialogFilter;
                dialog.Multiselect = true;
                if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    return dialog.FileNames.Select(f => this.Load(f));
                }
            }
            return new List<TestDepthFrame>();
        }
    }
TestDepthFrameRepository