using AsyncEvent; using FileTime.Core.Models; using FileTime.Core.Providers; namespace FileTime.Core.Timeline { public class TimeProvider : IContentProvider { public bool IsLoaded => true; public AsyncEventHandler Refreshed { get; } = new(); public string Name => "time"; public string? FullName => null; public bool IsHidden => false; public bool CanDelete => false; public bool CanRename => false; public IContentProvider Provider => this; private readonly PointInTime _pointInTime; public TimeProvider(PointInTime pointInTime) { _pointInTime = pointInTime; } public bool CanHandlePath(string path) { throw new NotImplementedException(); } public Task Clone() => Task.FromResult((IContainer)this); public Task CreateContainer(string name) { throw new NotImplementedException(); } public Task CreateElement(string name) { throw new NotImplementedException(); } public Task Delete() => throw new NotSupportedException(); public Task GetByPath(string path) { throw new NotImplementedException(); } public Task?> GetContainers(CancellationToken token = default) { throw new NotImplementedException(); } public Task?> GetElements(CancellationToken token = default) { throw new NotImplementedException(); } public Task?> GetItems(CancellationToken token = default) { throw new NotImplementedException(); } public IContainer? GetParent() => null; public Task> GetRootContainers(CancellationToken token = default) { throw new NotImplementedException(); } public Task IsExists(string name) { throw new NotImplementedException(); } public Task Refresh() => Task.CompletedTask; public Task Rename(string newName) => throw new NotSupportedException(); public void SetParent(IContainer container) { } } }