C# Класс Forex_Strategy_Builder.Indicator_Compilation_Manager

Manages the operation of indicators.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

Метод Описание
GetIndicatorInstanceFromAssembly ( Assembly assembly, string indicatorFileName, string &errorMessage ) : Indicator

Creates an indicator instance from the assembly given.

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

GetReferencedAndInitialAssembly() публичный статический Метод

Gather all assemblies referenced from current assembly.
public static GetReferencedAndInitialAssembly ( Assembly initialAssembly ) : System.Reflection.Assembly[]
initialAssembly System.Reflection.Assembly
Результат System.Reflection.Assembly[]

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

Constructor.
public Indicator_Compilation_Manager ( ) : System
Результат System

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

Load file, compile it and create/load the indicators into the CustomIndicatorsList.
public LoadCompileSourceFile ( string filePath, string &errorMessages ) : void
filePath string
errorMessages string
Результат void

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

Reads the source code from file contents.
public LoadSourceFile ( string pathToIndicator, string &errorLoadSourceFile ) : string
pathToIndicator string
errorLoadSourceFile string
Результат string