0bc82dc6b5
- You can now open a directory - The current filenames and previews are now displayed in the listboxes - Added method pipeline for updating the lists (OpenDirectory -> Filter -> Preview)
15 lines
323 B
C#
15 lines
323 B
C#
using System.Collections.Generic;
|
|
|
|
namespace BFR.Helpers
|
|
{
|
|
public static class IListExtensions
|
|
{
|
|
public static void ReplaceAll<T>(this IList<T> list, IEnumerable<T> replacement)
|
|
{
|
|
list.Clear();
|
|
foreach (var t in replacement)
|
|
list.Add(t);
|
|
}
|
|
}
|
|
}
|