public static ReceiveRealDataFactory getClass1Instance() { if (_multiThread == false) { if (_class1 == null) { _class1 = new ReceiveRealDataFactory(); } } else { if (_class1 == null) { lock (object1) { _class1 = new ReceiveRealDataFactory(); } } } return _class1; }
public static ReceiveRealDataFactory getClass1Instance() { if (_multiThread == false) { if (_class1 == null) { _class1 = new ReceiveRealDataFactory(); } } else { if (_class1 == null) { lock (object1) { _class1 = new ReceiveRealDataFactory(); } } } return(_class1); }