Mercurial > repos > IBBoard.WarFoundry.API
diff api/Factories/Xml/WarFoundryXmlFactory.cs @ 82:3ea0ab04352b
* Fix line terminators
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 27 Jun 2009 18:59:49 +0000 |
parents | 64ef178c18aa |
children | 2f3cafb69799 |
line wrap: on
line diff
--- a/api/Factories/Xml/WarFoundryXmlFactory.cs Wed May 27 19:43:09 2009 +0000 +++ b/api/Factories/Xml/WarFoundryXmlFactory.cs Sat Jun 27 18:59:49 2009 +0000 @@ -3,7 +3,7 @@ // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. using System; -using System.IO; +using System.IO; using System.Xml; using System.Xml.Schema; using System.Xml.XPath; @@ -16,14 +16,14 @@ using IBBoard.Xml; using IBBoard.WarFoundry.API.Requirements; using IBBoard.WarFoundry.API.Objects; -using ICSharpCode.SharpZipLib.Zip; - -namespace IBBoard.WarFoundry.API.Factories.Xml -{ - /// <summary> - /// The WarFoundryXmlFactory loads WarFoundry classes from the native "XML in a zip" file format. Files are validated using the schema for the file type, so structurally invalid files should be identified at initial load. - /// </summary> - public class WarFoundryXmlFactory : AbstractNativeWarFoundryFactory +using ICSharpCode.SharpZipLib.Zip; + +namespace IBBoard.WarFoundry.API.Factories.Xml +{ + /// <summary> + /// The WarFoundryXmlFactory loads WarFoundry classes from the native "XML in a zip" file format. Files are validated using the schema for the file type, so structurally invalid files should be identified at initial load. + /// </summary> + public class WarFoundryXmlFactory : AbstractNativeWarFoundryFactory { private static WarFoundryXmlFactory factory; private WarFoundryXmlGameSystemFactory gameSystemFactory; @@ -40,11 +40,11 @@ return factory; } - private WarFoundryXmlFactory() : base() + private WarFoundryXmlFactory() : base() { gameSystemFactory = new WarFoundryXmlGameSystemFactory(this); raceFactory = new WarFoundryXmlRaceFactory(this); - armyFactory = new WarFoundryXmlArmyFactory(); + armyFactory = new WarFoundryXmlArmyFactory(); } protected override bool CheckCanFindArmyFileContent(ZipFile file) @@ -123,5 +123,5 @@ raceFactory.CompleteLoading((Race)obj); } } - } + } } \ No newline at end of file