15 lines
438 B
C#
15 lines
438 B
C#
using FileTime.Core.Providers;
|
|
|
|
namespace FileTime.Core.Models
|
|
{
|
|
public interface IElement : IItem
|
|
{
|
|
bool IsSpecial { get; }
|
|
string GetPrimaryAttributeText();
|
|
Task<string> GetContent(CancellationToken token = default);
|
|
Task<long?> GetElementSize(CancellationToken token = default);
|
|
|
|
Task<IContentReader> GetContentReaderAsync();
|
|
Task<IContentWriter> GetContentWriterAsync();
|
|
}
|
|
} |