コード例 #1
0
        /// <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);
        }
コード例 #2
0
        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);
        }