public static class FactoryClass { private static ContentStoreCore obj = null; private static readonly object padLock = new object(); public static ContentStoreCore GetInstance() { lock (padLock) { if (obj == null) { obj = new ContentStoreCore(); } } return obj; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)