Container size scan, improvements
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace FileTime.Core.Models;
|
||||
|
||||
public class ContainerEscapeResult
|
||||
{
|
||||
public bool Handled { get; }
|
||||
public IContainer? NavigateTo { get; }
|
||||
|
||||
public ContainerEscapeResult(bool handled)
|
||||
{
|
||||
Handled = handled;
|
||||
}
|
||||
|
||||
public ContainerEscapeResult(IContainer navigateTo)
|
||||
{
|
||||
NavigateTo = navigateTo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace FileTime.Core.Models.ContainerTraits;
|
||||
|
||||
public interface IEscHandlerContainer
|
||||
{
|
||||
Task<ContainerEscapeResult> HandleEsc();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using DeclarativeProperty;
|
||||
|
||||
namespace FileTime.Core.Models.ContainerTraits;
|
||||
|
||||
public interface IStatusProviderContainer
|
||||
{
|
||||
IDeclarativeProperty<string> Status { get; }
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using DynamicData;
|
||||
using FileTime.Core.ContentAccess;
|
||||
using FileTime.Core.Enums;
|
||||
using FileTime.Core.Timeline;
|
||||
|
||||
@@ -6,6 +6,11 @@ public class ReadOnlyExtensionCollection : IEnumerable<object>
|
||||
{
|
||||
private readonly ExtensionCollection _collection;
|
||||
|
||||
public ReadOnlyExtensionCollection()
|
||||
{
|
||||
_collection = new ExtensionCollection();
|
||||
}
|
||||
|
||||
public ReadOnlyExtensionCollection(ExtensionCollection collection)
|
||||
{
|
||||
_collection = collection;
|
||||
|
||||
Reference in New Issue
Block a user