internal InMemoryMessageChannel GetChannel(ChannelIdentifier identifier) { if (!_channels.ContainsKey(identifier)) { lock (_channelCreationLockObject) { if (!_channels.ContainsKey(identifier)) { _channels[identifier] = new InMemoryMessageChannel(identifier); } } } return(_channels[identifier]); }
public InMemoryMessageSource(InMemoryMessageChannel channel) { _channel = channel; }
public void Dispose() { _channel = null; _isDisposed = true; }
public InMemoryMessageSender(InMemoryMessageChannel channel) { _channel = channel; }