Example #1
0
        public static PushHelper getInstance()
        {
            if (instance == null)
            {
                lock (instanceLock)
                {
                    if (instance == null)
                    {
                        instance = new PushHelper();
                    }
                }
            }

            return(instance);
        }
Example #2
0
        public static PushHelper getInstance()
        {
            if (instance == null)
            {
                lock (instanceLock)
                {
                    if (instance == null)
                    {
                        instance = new PushHelper();
                    }
                }
            }

            return instance;
        }