减少TraceItem数据量较大时的性能浪费
智能大石头 authored at 2024-10-22 08:41:14
503.00 B
Stardust
using System.IO;
using System;
using Microsoft.Extensions.FileProviders;

namespace Stardust.Extensions.Caches;

class FileInfoModel : IFileInfo
{
    public String Name { get; set; } = null!;

    public Boolean Exists { get; set; }

    public Boolean IsDirectory { get; set; }

    public DateTimeOffset LastModified { get; set; }

    public Int64 Length { get; set; }

    public String? PhysicalPath { get; set; }

    public Stream CreateReadStream() => throw new NotImplementedException();
}