/// <summary>
        /// Initializes a new instance of the <see cref="ReportingDescriptorTranslation" /> 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 ReportingDescriptorTranslation(ReportingDescriptorTranslation other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            Init(other.Id, other.Guid, other.ShortDescription, other.FullDescription, other.MessageStrings, other.Properties);
        }
 public bool ValueEquals(ReportingDescriptorTranslation other) => ValueComparer.Equals(this, other);
Пример #3
0
        public virtual ReportingDescriptorTranslation VisitReportingDescriptorTranslation(ReportingDescriptorTranslation node)
        {
            if (node != null)
            {
                node.ShortDescription = VisitNullChecked(node.ShortDescription);
                node.FullDescription  = VisitNullChecked(node.FullDescription);
            }

            return(node);
        }