Mercurial > repos > IBDev-IBBoard.WarFoundry.API
changeset 314:bd5d8bfe18a6
Re #253: Allow multiple data files in a single zip
* Make registration methods virtual to allow implementations to do extra things on register
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 27 Feb 2011 20:01:04 +0000 |
parents | f00a57369aaa |
children | 6cb0fb78b9a6 |
files | api/AbstractWarFoundryLoader.cs |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/api/AbstractWarFoundryLoader.cs Sun Feb 27 15:54:13 2011 +0000 +++ b/api/AbstractWarFoundryLoader.cs Sun Feb 27 20:01:04 2011 +0000 @@ -71,7 +71,7 @@ /// <param name="factory"> /// The <see cref="INativeWarFoundryFactory"/> to register to parse native data files. /// </param> - public void RegisterFactory(INativeWarFoundryFactory factory) + public virtual void RegisterFactory(INativeWarFoundryFactory factory) { if (!factories.Contains(factory)) { @@ -85,7 +85,7 @@ /// <param name="factory"> /// The <see cref="INativeWarFoundryFactory"/> to remove from the collection of factories that are used to try to parse native data files. /// </param> - public void UnregisterFactory(INativeWarFoundryFactory factory) + public virtual void UnregisterFactory(INativeWarFoundryFactory factory) { if (factories.Contains(factory)) { @@ -99,7 +99,7 @@ /// <param name="factory"> /// The <see cref="INonNativeWarFoundryFactory"/> to register to parse non-native data files. /// </param> - public void RegisterNonNativeFactory(INonNativeWarFoundryFactory factory) + public virtual void RegisterNonNativeFactory(INonNativeWarFoundryFactory factory) { if (!nonNativeFactories.Contains(factory)) { @@ -113,7 +113,7 @@ /// <param name="factory"> /// The <see cref="INonNativeWarFoundryFactory"/> to remove from the collection of factories that are used to try to parse non-native data files. /// </param> - public void UnregisterNonNativeFactory(INonNativeWarFoundryFactory factory) + public virtual void UnregisterNonNativeFactory(INonNativeWarFoundryFactory factory) { if (nonNativeFactories.Contains(factory)) {