Example #1
0
        public ScriptNamedItemBase(ParallelScriptExecutor executor)
        {
            this.executor = executor;

            string name = null;
            executor.SafeExecute<bool>(engine => engine.TryGetVariable("Name", out name));
            this.Name = name ?? executor.Script.Name;
        }
Example #2
0
 public TickerProvider(ParallelScriptExecutor executor)
     : base(executor)
 {
     this.CanSearch = executor.VariableExists("Search");
 }
Example #3
0
 public TickerConverter(string format, ParallelScriptExecutor executor)
     : base(executor)
 {
     this.Format = format;
 }
Example #4
0
 public TickerTransformer(ParallelScriptExecutor executor)
     : base(executor)
 {
 }
Example #5
0
 public ResultAnalyzer(string category, ParallelScriptExecutor executor)
     : base(executor)
 {
     this.Category = category;
 }