/// <summary> /// Returns a new instance that is a copy of the original one. /// </summary> /// <param name="settings">A dictionary containing the names and values of the properties /// that has to be changed with respect to the original ones, or null if these changes /// are not needed.</param> /// <returns>A new instance.</returns> public DataEngine Clone(IDictionary <string, object> settings) { var cloned = new DataEngine(); OnClone(cloned, settings); return(cloned); }
/// <summary> /// Returns a new instance that is a copy of the original one. /// </summary> /// <returns>A new instance.</returns> public DataEngine Clone() { var cloned = new DataEngine(); OnClone(cloned, null); return(cloned); }