comparison api/Factories/IWarFoundryFactory.cs @ 19:57451981545c

Re #10 and re #11 - Refactor code and document code * Split LoadFile method out in to smaller methods * Document possible exception from IWarFoundryFactory object loading method * Catch exception in WarFoundryLoader file loading
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Feb 2009 14:39:15 +0000
parents 306558904c2a
children 2f3cafb69799
comparison
equal deleted inserted replaced
18:3c228f093a71 19:57451981545c
63 /// </returns> 63 /// </returns>
64 bool CanHandleFileAsArmy(FileInfo file); 64 bool CanHandleFileAsArmy(FileInfo file);
65 65
66 /// <summary> 66 /// <summary>
67 /// Reads the data from the supplied file and returns it as a collection of loadable objects. 67 /// Reads the data from the supplied file and returns it as a collection of loadable objects.
68 /// May throw a <see cref=" IBBoard.IO.InvalidFileException"/> if the file is supported by the Factory but the content is invalid.
68 /// </summary> 69 /// </summary>
69 /// <param name="file"> 70 /// <param name="file">
70 /// A <see cref="FileInfo"/> for the file to load data from 71 /// A <see cref="FileInfo"/> for the file to load data from
71 /// </param> 72 /// </param>
72 /// <returns> 73 /// <returns>