Esempio n. 1
0
 public override void Prepare()
 {
     UnityService.RegisterInstance(typeof(ICache), CacheFactory.GetLocalCache());
     if (!UnityService.HasRegistered(typeof(IDbConfigLoader)))
     {
         UnityService.RegisterInstance(typeof(IDbConfigLoader), new DefaultDbConfigLoader());
     }
 }