示例#1
0
            public void Dispose()
            {
                _subject.Unsubscribe(this);

                lock (_locker)
                {
                    Observer = null;
                    _subject = null;
                }
            }
示例#2
0
 internal override void Unsubscribe(Subscription subscription) => _subject.Unsubscribe(subscription);