ReadObject() public method

Read the specific object, search through the objects until its found.
public ReadObject ( String name ) : IEncogPersistedObject
name String The name of the object you are looking for.
return IEncogPersistedObject
        /// <summary>
        /// Called to search all Encog objects in this collection for one with a name
        /// that passes what was passed in.
        /// </summary>
        /// <param name="name">The name we are searching for.</param>
        /// <returns>The Encog object with the correct name.</returns>
        public IEncogPersistedObject Find(String name)
        {
            PersistReader         reader = new PersistReader(this.filePrimary);
            IEncogPersistedObject result = reader.ReadObject(name);

            reader.Close();
            return(result);
        }
        /// <summary>
        /// Called to search all Encog objects in this collection for one with a name
        /// that passes what was passed in.
        /// </summary>
        /// <param name="name">The name we are searching for.</param>
        /// <returns>The Encog object with the correct name.</returns>
        public IEncogPersistedObject Find(String name)
        {

            PersistReader reader = new PersistReader(this.filePrimary);
            IEncogPersistedObject result = reader.ReadObject(name);
            reader.Close();
            return result;
        }