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

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