Class InMemoryFileInfo
Inheritance
object
InMemoryFileInfo
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 InMemoryFileInfo : IFileInfo
Constructors
InMemoryFileInfo(string, byte[], string)
Declaration
public InMemoryFileInfo(string dynamicPath, byte[] fileContent, string name)
Parameters
Type | Name | Description |
---|---|---|
string | dynamicPath | |
byte[] | fileContent | |
string | name |
Properties
DynamicPath
Declaration
public string DynamicPath { get; }
Property Value
Type | Description |
---|---|
string |
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