Exemple #1
0
        private static void UsingUniversalCopy()
        {
            var address  = new Address("Local", "Revolution", "Tula", "TulaSt", "301360");
            var deepCopy = UniversalCopyUtility <Address> .DeepCopy(address);

            Console.WriteLine(deepCopy);
        }
Exemple #2
0
 public T DeepCopy(T aTypeObj) => UniversalCopyUtility <T> .DeepCopy(aTypeObj);
Exemple #3
0
 private static T Copy <T>(T objToCopy)
 => UniversalCopyUtility <T> .DeepCopy(objToCopy);