示例#1
0
        private static void Init_DependencyInjection()
        {
            DependencyInjectionContainer.CreateKernel();

            ServiceBasic.Register(typeof(IRingenService), typeof(RingenService));
            Service.Plugin.InitializeSystem();
        }
示例#2
0
 public void Init()
 {
     ServiceBasic.Register(typeof(IRingenService), typeof(RingenService));
     Service.Plugin.InitializeSystem();
 }