Esempio n. 1
0
 /// <summary>
 /// Clones this <see cref="DeepObject"/> into a new instance of the given type.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="original"></param>
 /// <returns></returns>
 public static T CloneAs <T>(this DeepObject original) where T : DeepObject
 {
     return(original.clone() as T);
 }