Пример #1
0
        public static RssManager GetInstance()
        {
            lock( typeof(RssManager ))
            {
                if( instance == null )
                    instance = new RssManager();
            }

            return instance;
        }
Пример #2
0
        public static RssManager GetInstance()
        {
            lock (typeof(RssManager))
            {
                if (instance == null)
                {
                    instance = new RssManager();
                }
            }

            return(instance);
        }
Пример #3
0
 public void Dispose()
 {
     instance = null;
 }
Пример #4
0
 public void Dispose()
 {
     instance = null;
 }