C# Class ZeroInstall.Publish.EntryPoints.InterpretedScript

A plain text script that is executed by a runtime interpreter.
Inheritance: Candidate
Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Private Properties

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

Méthodes publiques

Méthode Description
CreateCommand ( ) : Command
Equals ( object obj ) : bool
GetHashCode ( ) : int

Méthodes protégées

Méthode Description
Equals ( InterpretedScript other ) : bool
HasShebang ( [ file, [ interpreter ) : bool

Determines whether a file is executable and has a shebang line pointing to a specific interpreter.

Private Methods

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

Method Details

CreateCommand() public méthode

public CreateCommand ( ) : Command
Résultat Command

Equals() protected méthode

protected Equals ( InterpretedScript other ) : bool
other InterpretedScript
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

HasShebang() protected méthode

Determines whether a file is executable and has a shebang line pointing to a specific interpreter.
protected HasShebang ( [ file, [ interpreter ) : bool
file [ The file to analyze.
interpreter [ The name of the interpreter to search for (e.g. 'python').
Résultat bool