Class InMemoryFileEntry
Inheritance
InMemoryFileEntry
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class InMemoryFileEntry : IFileEntry
Constructors
InMemoryFileEntry(InMemoryFileSystem, InMemoryDirectoryEntry, string)
Declaration
public InMemoryFileEntry(InMemoryFileSystem fs, InMemoryDirectoryEntry directory, string name)
Parameters
Properties
CanExecute
Declaration
public bool CanExecute { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Parent
Declaration
public IDirectoryEntry Parent { get; }
Property Value
Methods
TryDelete(IUser?)
Declaration
public bool TryDelete(IUser? user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns
TryExecute(ISystemProcess, IConsoleDriver, string[])
Declaration
public Task<bool> TryExecute(ISystemProcess process, IConsoleDriver console, string[] arguments)
Parameters
Returns
TryOpenRead(IUser?, out Stream?)
Declaration
public bool TryOpenRead(IUser? user, out Stream? stream)
Parameters
Returns
TryOpenWrite(IUser?, out Stream?)
Declaration
public bool TryOpenWrite(IUser? user, out Stream? stream)
Parameters
Returns
TryOpenWriteAppend(IUser?, out Stream?)
Declaration
public bool TryOpenWriteAppend(IUser? user, out Stream? stream)
Parameters
Returns
Implements