Class InMemoryFileInfo
Inheritance
System.Object
InMemoryFileInfo
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 |
System.String |
dynamicPath |
|
System.Byte[] |
fileContent |
|
System.String |
name |
|
Properties
DynamicPath
Declaration
public string DynamicPath { get; }
Property Value
Type |
Description |
System.String |
|
Exists
Declaration
public bool Exists { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsDirectory
Declaration
public bool IsDirectory { get; }
Property Value
Type |
Description |
System.Boolean |
|
LastModified
Declaration
public DateTimeOffset LastModified { get; }
Property Value
Type |
Description |
DateTimeOffset |
|
Length
Declaration
public long Length { get; }
Property Value
Type |
Description |
System.Int64 |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
PhysicalPath
Declaration
public string PhysicalPath { get; }
Property Value
Type |
Description |
System.String |
|
Methods
CreateReadStream()
Declaration
public Stream CreateReadStream()
Returns
Extension Methods