Esempio n. 1
0
        public ExecutionEnvironment()
        {
            _env      = PublicFunctions.CreateEnv(@"");
            Errors    = new HashSet <string>();
            AllErrors = new HashSet <string>();

            _buildIndexMap = new BuildJObjectArrayIndexMapHelper(this);
        }
Esempio n. 2
0
        public IExecutionEnvironment Snapshot()
        {
            var clonedExecutionEnvironment = MemberwiseClone() as ExecutionEnvironment;

            clonedExecutionEnvironment.Id       = Guid.NewGuid();
            clonedExecutionEnvironment.ParentId = Id;
            clonedExecutionEnvironment._env     = PublicFunctions.CreateEnv(@"");
            var executionEnvironmentToJson = ToJson();

            clonedExecutionEnvironment.FromJson(executionEnvironmentToJson);
            return(clonedExecutionEnvironment);
        }
Esempio n. 3
0
 public ExecutionEnvironment()
 {
     _env      = PublicFunctions.CreateEnv("");
     Errors    = new HashSet <string>();
     AllErrors = new HashSet <string>();
 }