/// <summary>
        ///   Adds a List of records to the GEDCOM Document
        /// </summary>
        /// <param name = "records">The list of records to add</param>
        public void AddRecords(GEDCOMRecordList records)
        {
            if (records == null)
            {
                throw new ArgumentNullException(typeof(GEDCOMRecordList).Name);
            }

            _records.AddRange(records);
        }
Пример #2
0
        /// <summary>
        ///   Adds a List of records to the GEDCOM Document
        /// </summary>
        /// <param name = "records">The list of records to add</param>
        public void AddRecords(GEDCOMRecordList records)
        {
            Requires.NotNull("records", records);

            _records.AddRange(records);
        }