Show / Hide Table of Contents

Class EmbeddedResourceFileInfo

Represents a file embedded in an assembly.

Inheritance
System.Object
EmbeddedResourceFileInfo
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
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

The time, in UTC.

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
Type Description
Stream

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft