示例#1
0
        public static ApplePushDataProvider GetInstance()
        {
            if (_instance == null)
            {
                lock (_locker)
                {
                    if (_instance == null)
                    {
                        _instance = new ApplePushDataProvider();
                    }
                }
            }

            return(_instance);
        }
        public static ApplePushDataProvider GetInstance()
        {
            if (_instance == null)
            {
                lock (_locker)
                {
                    if (_instance == null)
                    {
                        _instance = new ApplePushDataProvider();
                    }
                }
            }

            return _instance;
        }