LANCommander/LANCommander.Server/Models/FilePickerOptions.cs
2024-08-04 18:44:33 -05:00

14 lines
506 B
C#

using LANCommander.Server.UI.Components.FileManagerComponents;
namespace LANCommander.Server.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;
}
}