public static MaskedEmailWithPassword Clone(MaskedEmail model) { var cloned = new MaskedEmailWithPassword(); model.CloneTo(cloned); return(cloned); }
public void CloneTo(MaskedEmail target) { target.Name = Name; target.Description = Description; target.EmailAddress = EmailAddress; target.ForwardToEmailAddress = ForwardToEmailAddress; target.Received = Received; target.CreatedUtc = CreatedUtc; }