LANCommander.PlaynitePlugin/LANCommander/Models/FilePickerOptions.cs

14 lines
492 B
C#

using LANCommander.UI.Components.FileManagerComponents;
namespace LANCommander.Models
{
public class FilePickerOptions
{
public Guid ArchiveId { get; set; }
public string Root { get; set; }
public bool Select { get; set; }
public bool Multiple { get; set; } = false;
public Func<IFileManagerEntry, bool> EntryVisible { get; set; } = _ => true;
public Func<IFileManagerEntry, bool> EntrySelectable { get; set; } = _ => true;
}
}