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.).
Exibir arquivo Open project: 0install/0install-win Class Usage Examples

Private Properties

Property Type Description
Analyze bool
CreateCommand Command

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Protected Methods

Method Description
Equals ( Candidate other ) : bool
IsExecutable ( [ path ) : bool

Determines whether a file is executable.

Private Methods

Method 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 method

protected Equals ( Candidate other ) : bool
other Candidate
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsExecutable() protected method

Determines whether a file is executable.
protected IsExecutable ( [ path ) : bool
path [
return bool

ToString() public method

public ToString ( ) : string
return string