Ejemplo n.º 1
0
        /// <summary>
        /// Called pre application start
        /// </summary>
        public static void PreStart()
        {
            BatComputer.PreStart();
            LogBase Logger = BatComputer.Bootstrapper.Resolve <LogBase>(new NullLogger());

            Logger.LogMessage("Current asset helpers: {0}", MessageType.Debug, BatComputer.Bootstrapper.Resolve <AssetManager>().ToString());
            Logger.LogMessage("Current serializers: {0}", MessageType.Debug, BatComputer.Bootstrapper.Resolve <SerializationManager>().ToString());
            DependencyResolver.SetResolver(new Bootstrapper.DependencyResolver(BatComputer.Bootstrapper));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Called post application start
 /// </summary>
 public static void PostStart()
 {
     BatComputer.PostStart();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Ends this instance.
 /// </summary>
 public static void End()
 {
     BatComputer.End();
 }