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
Name
A name describing the task in human-readable form.
public override string Name { get; }
Property Value
Methods
HandleDirectory(DirectoryInfo)
Called once for every sub-directory below Source.
protected override void HandleDirectory(DirectoryInfo directory)
Parameters
directory
DirectoryInfoThe directory to handle.
HandleFile(FileInfo, FileInfo?)
Called once for every file below Source.
protected override void HandleFile(FileInfo file, FileInfo? hardlinkTarget = null)