Ejemplo n.º 1
0
        /// <summary>
        /// Create a new context by combining the current and other contexts
        /// </summary>
        /// <param name="other">other context</param>
        /// <returns>new context instance</returns>
        public SourceContext CombineWith(SourceContext other)
        {
            var clone = new SourceContext();

            clone.SetData(this);

            return(clone.UpdateWith(other));
        }
Ejemplo n.º 2
0
        public SourceContext Clone()
        {
            SourceContext clone = new SourceContext();

            clone.SetData(this);

            return(clone);
        }