C# Класс ZeroInstall.Publish.EntryPoints.InterpretedScript

A plain text script that is executed by a runtime interpreter.
Наследование: Candidate
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Analyze bool

Открытые методы

Метод Описание
CreateCommand ( ) : Command
Equals ( object obj ) : bool
GetHashCode ( ) : int

Защищенные методы

Метод Описание
Equals ( InterpretedScript other ) : bool
HasShebang ( [ file, [ interpreter ) : bool

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

Приватные методы

Метод Описание
Analyze ( DirectoryInfo baseDirectory, FileInfo file ) : bool

Описание методов

CreateCommand() публичный Метод

public CreateCommand ( ) : Command
Результат Command

Equals() защищенный Метод

protected Equals ( InterpretedScript other ) : bool
other InterpretedScript
Результат bool

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

HasShebang() защищенный Метод

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').
Результат bool