Example #1
0
        /// <summary>
        /// First method called in Unity component render process.
        /// </summary>
        private void Awake()
        {
            unityServiceLocator = UnityServiceLocator.Instance;

            try
            {
                InjectServices();
                CheckBindableObjects();
                InitializeComponent();
            }
            catch (Exception e)
            {
                logger.Exception(e);
            }
        }
Example #2
0
 /// <summary>
 /// ServiceModule constructor.
 /// </summary>
 protected ServiceModule()
 {
     unityServiceLocator = UnityServiceLocator.Instance;
     IsRunning           = false;
 }
Example #3
0
#pragma warning restore 0649

        /// <summary>
        /// Module constructor.
        /// </summary>
        protected Module()
        {
            unityServiceLocator = UnityServiceLocator.Instance;
        }