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

            _buildIndexMap = new BuildJObjectArrayIndexMapHelper(this);
        }
예제 #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);
        }
예제 #3
0
 public ExecutionEnvironment()
 {
     _env      = PublicFunctions.CreateEnv("");
     Errors    = new HashSet <string>();
     AllErrors = new HashSet <string>();
 }