Example #1
0
        public static CommentManager GetInstance()
        {
            lock (typeof(CommentManager))
            {
                if( instance == null )
                    instance = new CommentManager();

                return instance;
            }
        }
Example #2
0
        public static CommentManager GetInstance()
        {
            lock (typeof(CommentManager))
            {
                if (instance == null)
                {
                    instance = new CommentManager();
                }

                return(instance);
            }
        }
Example #3
0
 public void Dispose()
 {
     instance = null;
 }
Example #4
0
 public void Dispose()
 {
     instance = null;
 }