using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StructureHelperCommon.Infrastructures.Interfaces { /// /// Interface for cloning objects /// public interface ICloningStrategy { /// /// Returns copy of object /// /// Type of object /// Source object /// Strategy for cloning of object of specified type /// T Clone(T original, ICloneStrategy? cloneStrategy = null) where T : class; } }