public static CommentManager GetInstance() { lock (typeof(CommentManager)) { if( instance == null ) instance = new CommentManager(); return instance; } }
public static CommentManager GetInstance() { lock (typeof(CommentManager)) { if (instance == null) { instance = new CommentManager(); } return(instance); } }
public void Dispose() { instance = null; }