Class EmbeddedResourceFileInfo
Represents a file embedded in an assembly.
Inheritance
System.Object
EmbeddedResourceFileInfo
Assembly: Volo.Abp.VirtualFileSystem.dll
Syntax
public class EmbeddedResourceFileInfo : IFileInfo
Constructors
EmbeddedResourceFileInfo(Assembly, String, String, String, DateTimeOffset)
Declaration
public EmbeddedResourceFileInfo(Assembly assembly, string resourcePath, string virtualPath, string name, DateTimeOffset lastModified)
Parameters
Type |
Name |
Description |
Assembly |
assembly |
|
System.String |
resourcePath |
|
System.String |
virtualPath |
|
System.String |
name |
|
DateTimeOffset |
lastModified |
|
Properties
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 |
|
VirtualPath
Declaration
public string VirtualPath { get; }
Property Value
Type |
Description |
System.String |
|
Methods
CreateReadStream()
Declaration
public Stream CreateReadStream()
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Extension Methods