/// <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 Context CombineWith(Context other) { var clone = new Context(); clone.SetData(this); return(clone.UpdateWith(other)); }
public Context Clone() { Context clone = new Context(); clone.SetData(this); return(clone); }