TestimoX

API Reference

Class

FileWorkspaceEntry

Namespace ComputerX.FileSystem
Assembly ComputerX
Implements
IEquatable<FileWorkspaceEntry>
Modifiers sealed

Summary for a browseable filesystem entry.

Inheritance

  • Object
  • FileWorkspaceEntry

Constructors

public FileWorkspaceEntry(String Path, String Name, Boolean IsDirectory, Nullable<Int64> SizeBytes, Nullable<DateTime> LastModifiedUtc, Boolean CanBrowse, Boolean CanDownload) #

Summary for a browseable filesystem entry.

Parameters

Path System.String requiredposition: 0
Full path to the entry.
Name System.String requiredposition: 1
Display name for the entry.
IsDirectory System.Boolean requiredposition: 2
True when the entry is a directory.
SizeBytes System.Nullable{System.Int64} requiredposition: 3
File size when the entry is a file.
LastModifiedUtc System.Nullable{System.DateTime} requiredposition: 4
Last modification timestamp in UTC when available.
CanBrowse System.Boolean requiredposition: 5
True when the entry can be browsed as a container.
CanDownload System.Boolean requiredposition: 6
True when the entry can be prepared for download/export.

Methods

public FileWorkspaceEntry <Clone>$() #
Returns: FileWorkspaceEntry
public Void Deconstruct(out String Path, out String Name, out Boolean IsDirectory, out Nullable<Int64> SizeBytes, out Nullable<DateTime> LastModifiedUtc, out Boolean CanBrowse, out Boolean CanDownload) #
Returns: Void

Parameters

Path String requiredposition: 0
Name String requiredposition: 1
IsDirectory Boolean requiredposition: 2
SizeBytes Nullable<Int64> requiredposition: 3
LastModifiedUtc Nullable<DateTime> requiredposition: 4
CanBrowse Boolean requiredposition: 5
CanDownload Boolean requiredposition: 6
public virtual Boolean Equals(FileWorkspaceEntry other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public String Path { get; set; } #

Full path to the entry.

public String Name { get; set; } #

Display name for the entry.

public Boolean IsDirectory { get; set; } #

True when the entry is a directory.

public Nullable<Int64> SizeBytes { get; set; } #

File size when the entry is a file.

public Nullable<DateTime> LastModifiedUtc { get; set; } #

Last modification timestamp in UTC when available.

public Boolean CanBrowse { get; set; } #

True when the entry can be browsed as a container.

public Boolean CanDownload { get; set; } #

True when the entry can be prepared for download/export.