PhysicalDirectoryInfo Class

Namespace
Microsoft.Extensions.FileProviders.Physical
Assemblies
  • Microsoft.Extensions.FileProviders.Physical

Syntax

public class PhysicalDirectoryInfo : IFileInfo
class Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo

Constructors

PhysicalDirectoryInfo(System.IO.DirectoryInfo)
public PhysicalDirectoryInfo(DirectoryInfo info)

Methods

CreateReadStream()
Return type:System.IO.Stream
public Stream CreateReadStream()

Properties

Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo.Exists
Return type:System.Boolean
public bool Exists { get; }
Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo.IsDirectory
Return type:System.Boolean
public bool IsDirectory { get; }
Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo.LastModified
Return type:System.DateTimeOffset
public DateTimeOffset LastModified { get; }
Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo.Length
Return type:System.Int64
public long Length { get; }
Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo.Name
Return type:System.String
public string Name { get; }
Microsoft.Extensions.FileProviders.Physical.PhysicalDirectoryInfo.PhysicalPath
Return type:System.String
public string PhysicalPath { get; }