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