C# Class Forex_Strategy_Builder.Indicator_Compilation_Manager

Manages the operation of indicators.
Afficher le fichier Open project: nuggett11/Forex-Strategy-Builder Class Usage Examples

Méthodes publiques

Méthode Description
GetReferencedAndInitialAssembly ( Assembly initialAssembly ) : System.Reflection.Assembly[]

Gather all assemblies referenced from current assembly.

Indicator_Compilation_Manager ( ) : System

Constructor.

LoadCompileSourceFile ( string filePath, string &errorMessages ) : void

Load file, compile it and create/load the indicators into the CustomIndicatorsList.

LoadSourceFile ( string pathToIndicator, string &errorLoadSourceFile ) : string

Reads the source code from file contents.

Private Methods

Méthode Description
GetIndicatorInstanceFromAssembly ( Assembly assembly, string indicatorFileName, string &errorMessage ) : Indicator

Creates an indicator instance from the assembly given.

Method Details

GetReferencedAndInitialAssembly() public static méthode

Gather all assemblies referenced from current assembly.
public static GetReferencedAndInitialAssembly ( Assembly initialAssembly ) : System.Reflection.Assembly[]
initialAssembly System.Reflection.Assembly
Résultat System.Reflection.Assembly[]

Indicator_Compilation_Manager() public méthode

Constructor.
public Indicator_Compilation_Manager ( ) : System
Résultat System

LoadCompileSourceFile() public méthode

Load file, compile it and create/load the indicators into the CustomIndicatorsList.
public LoadCompileSourceFile ( string filePath, string &errorMessages ) : void
filePath string
errorMessages string
Résultat void

LoadSourceFile() public méthode

Reads the source code from file contents.
public LoadSourceFile ( string pathToIndicator, string &errorLoadSourceFile ) : string
pathToIndicator string
errorLoadSourceFile string
Résultat string