Exemplo n.º 1
0
 public override void PreInit(IIocManager instance)
 {
     if (!instance.IsRegister(typeof(IRepository <>)))
     {
         instance.RegisterGeneric(typeof(DosOrmRepositoryBase <>), typeof(IRepository <>));
     }
     instance.RegisterGeneric(typeof(DosOrmRepositoryBase <>), typeof(IDosOrmRepository <>));
     base.PreInit(instance);
 }