Пример #1
0
        /// <summary>
        /// Remove a list of Entries from the list of entries waiting to
        /// be written.
        /// </summary>
        /// List of Entry objects.
        /// <returns>
        /// True if all of the Entries were successfully removed from the
        /// list, False if there was a problem.
        /// </returns>
        public bool RemoveStoredEntries(IList <IEntry> entries)
        {
            delegateMultiEntryIO delRemoveMulti =
                new delegateMultiEntryIO(FileIOManager.RemoveEntriesFromList);

            return(delRemoveMulti(fsi, entries));
        }
Пример #2
0
        /// <summary>
        /// Add a list of Entries the list of Entries to be written to the ini file.
        /// </summary>
        /// <param name="entries">
        /// List of Entry objects.
        /// </param>
        /// <returns>
        /// True if all the Entries were added successfully, False if there was a failure.
        /// </returns>
        public bool StoreEntriesForWrite(IList <IEntry> entries)
        {
            delegateMultiEntryIO delStoreMulti =
                new delegateMultiEntryIO(FileIOManager.AddEntriesToList);

            return(delStoreMulti(fsi, entries));
        }