Table of Contents

Class DetectCandidates

Namespace
ZeroInstall.Publish.EntryPoints
Assembly
ZeroInstall.Publish.dll

Detects entry point Candidates in a file system directory.

public class DetectCandidates : ReadDirectoryBase, ITask
Inheritance
DetectCandidates
Implements
Inherited Members

Constructors

DetectCandidates(string)

Detects entry point Candidates in a file system directory.

public DetectCandidates(string path)

Parameters

path string

Properties

Candidates

The list of detected candidates.

public IReadOnlyList<Candidate> Candidates { get; }

Property Value

IReadOnlyList<Candidate>

Name

A name describing the task in human-readable form.

public override string Name { get; }

Property Value

string

Methods

HandleDirectory(DirectoryInfo)

Called once for every sub-directory below Source.

protected override void HandleDirectory(DirectoryInfo directory)

Parameters

directory DirectoryInfo

The directory to handle.

HandleFile(FileInfo, FileInfo?)

Called once for every file below Source.

protected override void HandleFile(FileInfo file, FileInfo? hardlinkTarget = null)

Parameters

file FileInfo

The file to handle.

hardlinkTarget FileInfo

A previously handled file that is hardlinked to file. May be null.