/// <summary>
        /// Constructor.
        /// </summary>
        public IndicatorCompilationManager()
        {
            CustomIndicatorsList = new List<Indicator>();
            _compiler = new CSharpCompiler();

            foreach (Assembly assembly in GetReferencedAndInitialAssembly(Assembly.GetEntryAssembly()))
            {
                _compiler.AddReferencedAssembly(assembly);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public IndicatorCompilationManager()
        {
            CustomIndicatorsList = new List <Indicator>();
            _compiler            = new CSharpCompiler();

            foreach (Assembly assembly in GetReferencedAndInitialAssembly(Assembly.GetEntryAssembly()))
            {
                _compiler.AddReferencedAssembly(assembly);
            }
        }