Exemple #1
0
		public static XConnectionSingleton GetInstance()
		{
			if(Instance == null)
				Instance = new XConnectionSingleton();
			
			return Instance;
		}
Exemple #2
0
        public static XConnectionSingleton GetInstance()
        {
            if (Instance == null)
            {
                Instance = new XConnectionSingleton();
            }

            return(Instance);
        }
Exemple #3
0
            protected override void RegisterHook()
            {
	            SetupMapping();
				XConn = XConnectionSingleton.GetInstance();
				XConn.OnEvent += HandleXEvent;
            }
Exemple #4
0
 protected override void RegisterHook()
 {
     SetupMapping();
     XConn          = XConnectionSingleton.GetInstance();
     XConn.OnEvent += HandleXEvent;
 }