i have error sequence contains no element on below line
Microsoft.Win32.OpenFileDialog dialog = new Microsoft.Win32.OpenFileDialog();
dialog.Multiselect = true;
dialog.Filter =
loaders
.Select(loader => string.Format("{0}|{1}", loader.Metadata.Alias, loader.Metadata.ExtensionFilter))
.Aggregate((f1, f2) => f1 + "|" + f2);
dialog.Filter += "|All Files|*.*";