Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Suppression" /> 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 Suppression(Suppression other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            Init(other.Guid, other.Kind, other.Status, other.Justification, other.Location, other.Properties);
        }
Ejemplo n.º 2
0
 public bool ValueEquals(Suppression other) => ValueComparer.Equals(this, other);