public static CurrencyWriterFactory GetInstance() { if (_instance == null) { lock (typeof(CurrencyWriterFactory)) { if (_instance == null) { _instance = new CurrencyWriterFactory(); } } } return _instance; }
public static CurrencyWriterFactory GetInstance() { if (_instance == null) { lock (typeof(CurrencyWriterFactory)) { if (_instance == null) { _instance = new CurrencyWriterFactory(); } } } return(_instance); }