Zero Install .NET API 2.20.0
ZeroInstall.Publish.EntryPoints.DetectCandidates Class Reference

Detects entry point Candidates in a file system directory. More...

Inheritance diagram for ZeroInstall.Publish.EntryPoints.DetectCandidates:
NanoByte::Common::Storage::ReadDirectoryBase NanoByte::Common::Tasks::TaskBase NanoByte::Common::Tasks::ITask

Public Member Functions

 DetectCandidates (string path)
 
- Public Member Functions inherited from NanoByte::Common::Tasks::TaskBase
void Run (CancellationToken cancellationToken=default, ICredentialProvider? credentialProvider=null, IProgress< TaskSnapshot >? progress=null)
 

Protected Member Functions

override void HandleDirectory (DirectoryInfo directory)
 
override void HandleFile (FileInfo file, FileInfo? hardlinkTarget=null)
 
- Protected Member Functions inherited from NanoByte::Common::Storage::ReadDirectoryBase
 ReadDirectoryBase ([Localizable(false)] string path)
 
override void Execute ()
 

Properties

override string Name [get]
 
IReadOnlyList< CandidateCandidates [get]
 The list of detected candidates.
 
- Properties inherited from NanoByte::Common::Storage::ReadDirectoryBase
override bool UnitsByte
 
bool FollowSymlinks
 
- Properties inherited from NanoByte::Common::Tasks::TaskBase
abstract string Name
 
object? Tag
 
virtual bool CanCancel
 
TaskState State
 
abstract bool UnitsByte
 
long UnitsProcessed
 
long UnitsTotal
 
- Properties inherited from NanoByte::Common::Tasks::ITask
string Name
 
object? Tag
 
bool CanCancel
 

Additional Inherited Members

- Protected Attributes inherited from NanoByte::Common::Storage::ReadDirectoryBase
readonly DirectoryInfo Source
 
- Protected Attributes inherited from NanoByte::Common::Tasks::TaskBase
CancellationToken CancellationToken
 
ICredentialProvider? CredentialProvider
 

Detailed Description

Detects entry point Candidates in a file system directory.

Member Function Documentation

◆ HandleDirectory()

override void ZeroInstall.Publish.EntryPoints.DetectCandidates.HandleDirectory ( DirectoryInfo  directory)
inlineprotectedvirtual

◆ HandleFile()

override void ZeroInstall.Publish.EntryPoints.DetectCandidates.HandleFile ( FileInfo  file,
FileInfo?  hardlinkTarget = null 
)
inlineprotectedvirtual

The documentation for this class was generated from the following file: