public static IDacFactory GetFactory() { if (DacFactoryClient._dacFactory == null) { lock (DacFactoryClient.Locker) { if (DacFactoryClient._dacFactory == null) { DacFactoryClient._dacFactory = new SqlDacFactory(); } } } return(DacFactoryClient._dacFactory); }
public static IDacFactory GetConcreteFactory() { if (_dacFactory == null) { lock (Locker) { if (_dacFactory == null) { _dacFactory = new DacFactory(); } } } return(_dacFactory); }