C# Class Rosetta.ScriptSharp.Definition.Runner.Program

Part of program responsible for translating one single file.
Afficher le fichier Open project: andry-tino/Rosetta

Protected Properties

Свойство Type Description
assemblyPath string
fileName string
filePath string
help bool
includes List
instance Program
outputFolder string
verbose bool

Méthodes publiques

Méthode Description
Program ( string args ) : System

Initializes a new instance of the Program class.

Méthodes protégées

Méthode Description
ConvertFile ( ) : void
ExecuteCore ( ) : void

Runs the main logic.

HandleError ( Exception e ) : void
HandleExtraParameters ( IEnumerable extra ) : void
HandleNoFeasibleExecution ( ) : void
HandleOptionException ( OptionException e ) : void
PerformFileConversion ( ConversionArguments arguments ) : string
ShowHelp ( ) : void

Private Methods

Méthode Description
CreateReferencesGroupTranslationUnit ( IEnumerable paths ) : ITranslationUnit
GeneratePrependedText ( ) : string
Main ( string args ) : void

Entry point.

Method Details

ConvertFile() protected méthode

protected ConvertFile ( ) : void
Résultat void

ExecuteCore() protected méthode

Runs the main logic.
protected ExecuteCore ( ) : void
Résultat void

HandleError() protected méthode

protected HandleError ( Exception e ) : void
e System.Exception
Résultat void

HandleExtraParameters() protected méthode

protected HandleExtraParameters ( IEnumerable extra ) : void
extra IEnumerable
Résultat void

HandleNoFeasibleExecution() protected méthode

protected HandleNoFeasibleExecution ( ) : void
Résultat void

HandleOptionException() protected méthode

protected HandleOptionException ( OptionException e ) : void
e OptionException
Résultat void

PerformFileConversion() protected static méthode

protected static PerformFileConversion ( ConversionArguments arguments ) : string
arguments Rosetta.Executable.ConversionArguments
Résultat string

Program() public méthode

Initializes a new instance of the Program class.
public Program ( string args ) : System
args string
Résultat System

ShowHelp() protected méthode

protected ShowHelp ( ) : void
Résultat void

Property Details

assemblyPath protected_oe property

protected string assemblyPath
Résultat string

fileName protected_oe property

protected string fileName
Résultat string

filePath protected_oe property

protected string filePath
Résultat string

help protected_oe property

protected bool help
Résultat bool

includes protected_oe property

protected List includes
Résultat List

instance protected_oe static_oe property

protected static Program instance
Résultat Program

outputFolder protected_oe property

protected string outputFolder
Résultat string

verbose protected_oe property

protected bool verbose
Résultat bool