Beispiel #1
0
        public virtual object Clone()
        {
            var result = MemberwiseClone() as NotificationMessage;

            result.TenantIdentity = TenantIdentity?.Clone() as TenantIdentity;

            return(result);
        }
Beispiel #2
0
        public virtual object Clone()
        {
            var result = MemberwiseClone() as Notification;

            result.Templates      = Templates?.Select(x => x.Clone()).OfType <NotificationTemplate>().ToList();
            result.TenantIdentity = TenantIdentity?.Clone() as TenantIdentity;

            return(result);
        }