Class EmbeddedResourceFileInfo
Inheritance
object
EmbeddedResourceFileInfo
Implements
Microsoft.Extensions.FileProviders.IFileInfo
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.VirtualFileSystem.Embedded
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 |
---|---|---|
System.Reflection.Assembly | assembly | |
string | resourcePath | |
string | virtualPath | |
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 |
VirtualPath
Declaration
public string VirtualPath { get; }
Property Value
Type | Description |
---|---|
string |
Methods
CreateReadStream()
Declaration
public Stream CreateReadStream()
Returns
Type | Description |
---|---|
System.IO.Stream |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()
Implements
Microsoft.Extensions.FileProviders.IFileInfo