示例#1
0
        public override void PreInit()
        {
            IoCManager.InjectDependencies(this);
            SharedContentIoC.Register();

            Localization.Init();
        }
示例#2
0
        public static void Register()
        {
            SharedContentIoC.Register();

            IoCManager.Register <HudManager, HudManager>();
            IoCManager.Register <StyleSheetManager, StyleSheetManager>();
            IoCManager.Register <InputHookupManager, InputHookupManager>();
        }
        protected override void OverrideIoC()
        {
            base.OverrideIoC();

            SharedContentIoC.Register();

            if (Project == UnitTestProject.Server)
            {
                ServerContentIoC.Register();
            }
            else if (Project == UnitTestProject.Client)
            {
                ClientContentIoC.Register();
            }
        }
 public static void Register()
 {
     SharedContentIoC.Register();
 }