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

            Init(other.SchemaUri, other.Version, other.Runs);
        }
Exemplo n.º 2
0
        private static void ProcessSarifLog(SarifLog sarifLog, string logFilePath)
        {
            foreach (Run run in sarifLog.Runs)
            {
                Instance.WriteRunToErrorList(run, logFilePath);
            }

            SarifTableDataSource.Instance.BringToFront();
        }
Exemplo n.º 3
0
 public bool ValueEquals(SarifLog other) => ValueComparer.Equals(this, other);
Exemplo n.º 4
0
 public bool ValueEquals(SarifLog other) => ValueComparer.Equals(this, other);