public static STMMessageFilter GetInstance() { if (_STMMessageFilter == null) { _STMMessageFilter = new STMMessageFilter(); Relauncher.GetInstance().RegisterForUpdate(_STMMessageFilter); } return(_STMMessageFilter); }
public static EventTransmitter GetInstance() { lock (_Lock) { if (_EventTransmitter == null) { _EventTransmitter = new EventTransmitter(); Relauncher.GetInstance().RegisterForUpdate(_EventTransmitter); } } return(_EventTransmitter); }