/// <summary> /// Initializes a new instance of the <see cref="NotificationVersionOne" /> class from the specified instance. /// </summary> /// <param name="other"> /// The instance from which the new instance is to be initialized. /// </param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="other" /> is null. /// </exception> public NotificationVersionOne(NotificationVersionOne other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.Id, other.RuleId, other.RuleKey, other.PhysicalLocation, other.Message, other.Level, other.ThreadId, other.Time, other.Exception, other.Properties); }
public virtual NotificationVersionOne VisitNotificationVersionOne(NotificationVersionOne node) { if (node != null) { node.PhysicalLocation = VisitNullChecked(node.PhysicalLocation); node.Exception = VisitNullChecked(node.Exception); } return(node); }
public bool ValueEquals(NotificationVersionOne other) => ValueComparer.Equals(this, other);