LANCommander/LANCommander.Server/Models/FilePickerOptions.cs

15 lines
506 B
C#
Raw Permalink Normal View History

2024-08-04 18:44:33 -05:00
using LANCommander.Server.UI.Components.FileManagerComponents;
2024-08-04 18:44:33 -05:00
namespace LANCommander.Server.Models
{
2023-09-11 17:56:23 -05:00
public class FilePickerOptions
{
public Guid ArchiveId { get; set; }
2023-09-11 17:56:23 -05:00
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;
}
}