コード例 #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());
     }
 }