Class VirtualDirectoryFileInfo
Inheritance
object
VirtualDirectoryFileInfo
Implements
Microsoft.Extensions.FileProviders.IFileInfo
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.VirtualFileSystem
Assembly: Volo.Abp.VirtualFileSystem.dll
Syntax
public class VirtualDirectoryFileInfo : IFileInfo
Constructors
VirtualDirectoryFileInfo(string, string, DateTimeOffset)
Declaration
public VirtualDirectoryFileInfo(string physicalPath, string name, DateTimeOffset lastModified)
Parameters
Type | Name | Description |
---|---|---|
string | physicalPath | |
string | name | |
System.DateTimeOffset | lastModified |
Properties
Exists
Declaration
public bool Exists { get; }
Property Value
Type | Description |
---|---|
bool |
IsDirectory
Declaration
public bool IsDirectory { get; }
Property Value
Type | Description |
---|---|
bool |
LastModified
Declaration
public DateTimeOffset LastModified { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
Length
Declaration
public long Length { get; }
Property Value
Type | Description |
---|---|
long |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
PhysicalPath
Declaration
public string PhysicalPath { get; }
Property Value
Type | Description |
---|---|
string |
Methods
CreateReadStream()
Declaration
public Stream CreateReadStream()
Returns
Type | Description |
---|---|
System.IO.Stream |
Implements
Microsoft.Extensions.FileProviders.IFileInfo