C# Class Rosetta.Runner.Program

Main program.
Members protected for testability.
Inheritance: Rosetta.Executable.Executable
Afficher le fichier Open project: andry-tino/Rosetta

Protected Properties

Свойство Type Description
assemblyPath string
fileConversionRunner IRunner
fileManager FileManager
fileName string
filePath string
help bool
instance Program
outputFolder string
projectPath 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
ConvertProject ( ) : void
CreateFileConversionRunner ( ) : IRunner
ExecuteCore ( ) : void

Runs the main logic.

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

Private Methods

Méthode Description
GetOutputFolderForProject ( string userInput ) : string
Main ( string args ) : void

Entry point.

Method Details

ConvertFile() protected méthode

protected ConvertFile ( ) : void
Résultat void

ConvertProject() protected méthode

protected ConvertProject ( ) : void
Résultat void

CreateFileConversionRunner() protected méthode

protected CreateFileConversionRunner ( ) : IRunner
Résultat IRunner

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 ( Mono.Options.OptionException e ) : void
e Mono.Options.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

fileConversionRunner protected_oe property

protected IRunner fileConversionRunner
Résultat IRunner

fileManager protected_oe property

protected FileManager fileManager
Résultat FileManager

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

instance protected_oe static_oe property

protected static Program instance
Résultat Program

outputFolder protected_oe property

protected string outputFolder
Résultat string

projectPath protected_oe property

protected string projectPath
Résultat string

verbose protected_oe property

protected bool verbose
Résultat bool