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

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