aboutsummaryrefslogtreecommitdiff
path: root/src/test/examples/FullFramework2MBA
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/examples/FullFramework2MBA')
-rw-r--r--src/test/examples/FullFramework2MBA/FullFramework2BAFactory.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/examples/FullFramework2MBA/FullFramework2BAFactory.cs b/src/test/examples/FullFramework2MBA/FullFramework2BAFactory.cs
index d3cafc70..40cff30f 100644
--- a/src/test/examples/FullFramework2MBA/FullFramework2BAFactory.cs
+++ b/src/test/examples/FullFramework2MBA/FullFramework2BAFactory.cs
@@ -6,8 +6,15 @@ namespace Example.FullFramework2MBA
6 6
7 public class FullFramework2BAFactory : BaseBootstrapperApplicationFactory 7 public class FullFramework2BAFactory : BaseBootstrapperApplicationFactory
8 { 8 {
9 private static int loadCount = 0;
10
9 protected override IBootstrapperApplication Create(IEngine engine, IBootstrapperCommand bootstrapperCommand) 11 protected override IBootstrapperApplication Create(IEngine engine, IBootstrapperCommand bootstrapperCommand)
10 { 12 {
13 if (loadCount > 0)
14 {
15 engine.Log(LogLevel.Standard, $"Reloaded {loadCount} time(s)");
16 }
17 ++loadCount;
11 return new FullFramework2BA(engine); 18 return new FullFramework2BA(engine);
12 } 19 }
13 } 20 }