TestimoX

API Reference

Class

FileWorkspaceDownloadPlan

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

Download/export plan for a file or directory.

Inheritance

  • Object
  • FileWorkspaceDownloadPlan

Constructors

public FileWorkspaceDownloadPlan(String FullPath, String DownloadFileName, String ContentType, Boolean IsDirectory, String ArchiveRootName) #

Download/export plan for a file or directory.

Parameters

FullPath System.String requiredposition: 0
Full path that will be streamed or archived.
DownloadFileName System.String requiredposition: 1
File name suggested to the caller.
ContentType System.String requiredposition: 2
Content type for the resulting payload.
IsDirectory System.Boolean requiredposition: 3
True when the plan targets a directory archive.
ArchiveRootName System.String requiredposition: 4
Root folder name to use inside the archive when applicable.

Methods

public FileWorkspaceDownloadPlan <Clone>$() #
Returns: FileWorkspaceDownloadPlan
public Void Deconstruct(out String FullPath, out String DownloadFileName, out String ContentType, out Boolean IsDirectory, out String ArchiveRootName) #
Returns: Void

Parameters

FullPath String requiredposition: 0
DownloadFileName String requiredposition: 1
ContentType String requiredposition: 2
IsDirectory Boolean requiredposition: 3
ArchiveRootName String requiredposition: 4
public virtual Boolean Equals(FileWorkspaceDownloadPlan other) #
Returns: Boolean

Parameters

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

Properties

public String FullPath { get; set; } #

Full path that will be streamed or archived.

public String DownloadFileName { get; set; } #

File name suggested to the caller.

public String ContentType { get; set; } #

Content type for the resulting payload.

public Boolean IsDirectory { get; set; } #

True when the plan targets a directory archive.

public String ArchiveRootName { get; set; } #

Root folder name to use inside the archive when applicable.