コード例 #1
0
        /// <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))));
        }
コード例 #2
0
ファイル: Audit.cs プロジェクト: hectorsosajr/NDataAudit
        /// <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;
        }