private void HandleInitialize() { Lock(() => { if (Interlocked.Increment(ref _initalizationCount) == 2) { ChannelInitialized?.Invoke(this); } }); }
private void ChannelOnInitialized(IChannel channel) { ChannelInitialized?.Invoke(this); }