/// <summary> /// Clones the reference values. /// </summary> /// <param name="clone">The clone.</param> protected void CloneReferenceValues(FakeExecutionContext clone) { clone.InputParameters = new ParameterCollection(); clone.InputParameters.AddRange(InputParameters); clone.OutputParameters = new ParameterCollection(); clone.OutputParameters.AddRange(OutputParameters); clone.SharedVariables = new ParameterCollection(); clone.SharedVariables.AddRange(SharedVariables); clone.PreEntityImages = new EntityImageCollection(); clone.PreEntityImages.AddRange(PreEntityImages); clone.PostEntityImages = new EntityImageCollection(); clone.PostEntityImages.AddRange(PostEntityImages); }
protected void CloneReferenceValues(FakeExecutionContext clone) { clone.InputParameters = new ParameterCollection(); clone.InputParameters.AddRange(InputParameters); clone.OutputParameters = new ParameterCollection(); clone.OutputParameters.AddRange(OutputParameters); clone.SharedVariables = new ParameterCollection(); clone.SharedVariables.AddRange(SharedVariables); clone.PreEntityImages = new EntityImageCollection(); clone.PreEntityImages.AddRange(PreEntityImages); clone.PostEntityImages = new EntityImageCollection(); clone.PostEntityImages.AddRange(PostEntityImages); }