protected ProgrammableOperator(bool deserializing)
     : base(deserializing)
 {
     ProgrammableOperator.StaticInitialize();
     Assemblies = defaultAssemblyDict.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
     Plugins    = defaultPluginDict.ToDictionary(kvp => kvp.Key, kvp => kvp.Value.ToList());
 }
Example #2
0
 public ProgrammableOperator()
 {
     code          = "";
     executeMethod = null;
     ProgrammableOperator.StaticInitialize();
     Assemblies = defaultAssemblyDict.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
     Plugins    = defaultPluginDict.ToDictionary(kvp => kvp.Key, kvp => kvp.Value.ToList());
     namespaces = new HashSet <string>(DiscoverNamespaces());
     RegisterEvents();
 }
Example #3
0
 protected ProgrammableOperator(StorableConstructorFlag _) : base(_)
 {
     ProgrammableOperator.StaticInitialize();
     Assemblies = defaultAssemblyDict.ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
     Plugins    = defaultPluginDict.ToDictionary(kvp => kvp.Key, kvp => kvp.Value.ToList());
 }