예제 #1
0
파일: CoreModule.cs 프로젝트: sachem1/IDDD
 public override void Prepare()
 {
     UnityService.RegisterInstance(typeof(ICache), CacheFactory.GetLocalCache());
     if (!UnityService.HasRegistered(typeof(IDbConfigLoader)))
     {
         UnityService.RegisterInstance(typeof(IDbConfigLoader), new DefaultDbConfigLoader());
     }
 }