Show / Hide Table of Contents

Class InMemoryFileInfo

Inheritance
System.Object
InMemoryFileInfo
Namespace: Volo.Abp.VirtualFileSystem
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
Type Description
Stream

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