public void AddSubscriber(IRawMessageSubscriber subscriber) { if (subscriber == null) { throw new ArgumentNullException(nameof(subscriber)); } Subscribers.AddFirst(subscriber); RawDataPublish += subscriber.OnRawDataPublish; }