Mercurial > repos > IBBoard.WarFoundry.API
diff api/Factories/WarFoundryFactoryFactory.cs @ 17:a99d3b8466ba
Change "CreateFactory" method to "GetFactory" method to allow for caching
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 26 Jan 2009 20:29:37 +0000 |
parents | 306558904c2a |
children |
line wrap: on
line diff
--- a/api/Factories/WarFoundryFactoryFactory.cs Sun Jan 25 14:51:24 2009 +0000 +++ b/api/Factories/WarFoundryFactoryFactory.cs Mon Jan 26 20:29:37 2009 +0000 @@ -45,11 +45,11 @@ if (factory == null) { factory = null; - MethodInfo method = cls.GetMethod("CreateFactory"); + MethodInfo method = cls.GetMethod("GetFactory"); if (method!=null) { - LogNotifier.Debug(GetType(), "Found CreateFactory method on " + cls.Name); + LogNotifier.Debug(GetType(), "Found GetFactory method on " + cls.Name); object temp = method.Invoke(null, new object[]{}); if (temp is IWarFoundryFactory)