Show / Hide Table of Contents

Class EmbeddedResourceFileInfo

Inheritance
object
EmbeddedResourceFileInfo
Implements
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
Assembly assembly
string resourcePath
string virtualPath
string name
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
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
Stream

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IFileInfo

Extension Methods

AbpFileInfoExtensions.GetVirtualOrPhysicalPathOrNull(IFileInfo)
AbpFileInfoExtensions.ReadAsString(IFileInfo)
AbpFileInfoExtensions.ReadAsString(IFileInfo, Encoding)
AbpFileInfoExtensions.ReadAsStringAsync(IFileInfo)
AbpFileInfoExtensions.ReadAsStringAsync(IFileInfo, Encoding)
AbpFileInfoExtensions.ReadBytes(IFileInfo)
AbpFileInfoExtensions.ReadBytesAsync(IFileInfo)
AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform