/// <summary>
        /// Adds the specified items.
        /// </summary>
        /// <param name="Items">The items.</param>
        /// <returns>System.Int32[].</returns>
        public int[] Add(AuditTestCollection Items)
        {
            ArrayList indexes = new ArrayList();

            foreach (object Item in Items)
            {
                indexes.Add(this.List.Add(Item));
            }

            return ((int[])(indexes.ToArray(typeof(int))));
        }
Exemple #2
0
        /// <summary>
        /// Default constructor
        /// </summary>
        public Audit()
        {
            EmailSubscribers = new ArrayList();
            EmailCarbonCopySubscribers = new ArrayList();
            EmailBlindCarbonCopySubscribers = new ArrayList();
            Tests = new AuditTestCollection();
            ErrorMessages = new List<string>();

            ShowQueryMessage = true;
            ShowThresholdMessage = true;
            ShowCommentMessage = true;
        }