Пример #1
0
 public static void CopyTo(this IHasLastName from, IHasLastName to, bool allowDefaultValues = true)
 {
     to.LastName = from.LastName;
 }
 public static bool IsEqual(this IHasLastName from, IHasLastName to)
 {
     return(to.LastName == from.LastName);
 }