public static ICommCore GetInstance(BasicConf conf, Observer <DataEventArgs> observer) { lock (SyncObject) { return(_CommInstance ?? (_CommInstance = new CommService(conf, observer))); } }
public static ICommCore GetInstance(BasicConf conf, Observer<DataEventArgs> observer) { lock (SyncObject) { return _CommInstance ?? (_CommInstance = new CommService(conf, observer)); } }