C# Class ZeroInstall.Publish.EntryPoints.Candidate

Collects information about a potential candidate for an entry point. The subclass type determines the type of executable (native binary, interpreted script, etc.).
Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Private Properties

Свойство Type Description
Analyze bool
CreateCommand Command

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Méthodes protégées

Méthode Description
Equals ( Candidate other ) : bool
IsExecutable ( [ path ) : bool

Determines whether a file is executable.

Private Methods

Méthode Description
Analyze ( [ baseDirectory, [ file ) : bool

Analyzes a file to determine whether it matches this candidate type and extracts meta data.

CreateCommand ( ) : Command

Method Details

Equals() protected méthode

protected Equals ( Candidate other ) : bool
other Candidate
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IsExecutable() protected méthode

Determines whether a file is executable.
protected IsExecutable ( [ path ) : bool
path [
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string