Exemplo n.º 1
0
        public static ArticleManager GetInstance()
        {
            lock (typeof(ArticleManager))
            {
                if( instance == null )
                    instance = new ArticleManager();
            }

            return instance;
        }
Exemplo n.º 2
0
        public static ArticleManager GetInstance()
        {
            lock (typeof(ArticleManager))
            {
                if (instance == null)
                {
                    instance = new ArticleManager();
                }
            }

            return(instance);
        }
Exemplo n.º 3
0
 public void Dispose()
 {
     instance = null;
 }
Exemplo n.º 4
0
 public void Dispose()
 {
     instance = null;
 }