Ejemplo n.º 1
0
        /// <inheritdoc />
        protected override void OnStartCompleted(IApplication application, StartCompletedEventArgs args)
        {
            // Application entry, Your code starts writing here
            // called this function after, use App.Make function to get service
            // ex: App.Make<IYourService>().Debug("hello world");

            Debug.Log("Hello CatLib, Debug Level: " + App.Make <DebugLevel>());
            App.Watch <DebugLevel>(newLevel =>
            {
                Debug.Log("Change debug level: " + newLevel);
            });
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Triggered when the framework is started
 /// </summary>
 protected virtual void OnStartCompleted(IApplication application, StartCompletedEventArgs args)
 {
     // noop.
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Triggered when the framework is started
 /// </summary>
 protected abstract void OnStartCompleted(IApplication application, StartCompletedEventArgs args);
Ejemplo n.º 4
0
 /// <summary>
 /// 项目启动入口
 /// </summary>
 protected override void OnStartCompleted(StartCompletedEventArgs eventArgs)
 {
 }
Ejemplo n.º 5
0
 /// <inheritdoc />
 protected override void OnStartCompleted(IApplication application, StartCompletedEventArgs args)
 {
     Debug.Log("Hello Editor CatLib.");
     base.OnStartCompleted(application, args);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// 当框架启动完成时
 /// </summary>
 protected abstract void OnStartCompleted(StartCompletedEventArgs eventArgs);