Beispiel #1
0
 /// <summary>
 /// Registers modules.
 /// </summary>
 /// <param name="container">The default container.</param>
 public virtual void RegisterModule(IocContainer container)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Initializes static members of the <see cref="ModuleBase"/> class.
 /// </summary>
 static ModuleBase()
 {
     ModuleContainer = new IocContainer(Guid.NewGuid().ToString());
     ServiceLocator.SetLocatorProvider(() => ModuleContainer);
 }