public ITransport Create(TransportInfo transportInfo, Action onFailure) { lock (m_Transports) { InMemoryTransport transport; if (!m_Transports.TryGetValue(transportInfo, out transport)) { transport = new InMemoryTransport(); m_Transports.Add(transportInfo, transport); } return(transport); } }
public InMemoryProcessingGroup(InMemoryTransport queues) { m_Transport = queues; }