comparison api/Factories/AbstractWarFoundryFactory.cs @ 28:e5ea6bfcde83

Re #44 - Fix tests * Make spec of method more explicit
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2009 19:18:43 +0000
parents 306558904c2a
children 2f3cafb69799
comparison
equal deleted inserted replaced
27:e7de5c96f5c2 28:e5ea6bfcde83
40 return typedFile != null && CheckCanHandleFileAsArmy(typedFile); 40 return typedFile != null && CheckCanHandleFileAsArmy(typedFile);
41 } 41 }
42 42
43 /// <summary> 43 /// <summary>
44 /// Converts the <see cref="FileInfo"/> object in to the appropriate type for this class so that it can perform its checks. If no conversion is required (the test can be performed on a <see cref="FileInfo"/> object) the object should be returned with no modification. 44 /// Converts the <see cref="FileInfo"/> object in to the appropriate type for this class so that it can perform its checks. If no conversion is required (the test can be performed on a <see cref="FileInfo"/> object) the object should be returned with no modification.
45 /// If the file is not of supported type the <code>null</code> should be returned.
45 /// </summary> 46 /// </summary>
46 /// <param name="file"> 47 /// <param name="file">
47 /// A <see cref="FileInfo"/> to get the supported source object from. 48 /// A <see cref="FileInfo"/> to get the supported source object from.
48 /// </param> 49 /// </param>
49 /// <returns> 50 /// <returns>