Exemple #1
0
        public static MaskedEmailWithPassword Clone(MaskedEmail model)
        {
            var cloned = new MaskedEmailWithPassword();

            model.CloneTo(cloned);
            return(cloned);
        }
Exemple #2
0
 public void CloneTo(MaskedEmail target)
 {
     target.Name                  = Name;
     target.Description           = Description;
     target.EmailAddress          = EmailAddress;
     target.ForwardToEmailAddress = ForwardToEmailAddress;
     target.Received              = Received;
     target.CreatedUtc            = CreatedUtc;
 }