Search by regex, modal Enter fixes
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using FileTime.Core.Models;
|
||||
|
||||
namespace FileTime.Core.Behaviors;
|
||||
|
||||
public interface IItemNameConverterProvider
|
||||
{
|
||||
Task<IEnumerable<ItemNamePart>> GetItemNamePartsAsync(IItem item);
|
||||
}
|
||||
@@ -26,4 +26,6 @@ public interface IItem
|
||||
ReadOnlyExtensionCollection Extensions { get; }
|
||||
|
||||
T? GetExtension<T>() => (T?)Extensions.FirstOrDefault(i => i is T);
|
||||
|
||||
IItem WithParent(AbsolutePath parent);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
namespace FileTime.Core.Models;
|
||||
|
||||
public record ItemNamePart(string Text, bool IsSpecial = false);
|
||||
Reference in New Issue
Block a user