private void HandleSubscribeCounter(SubscribeCounter subscribeCounter) { this._subscriptions.Add(subscribeCounter.Subscriber); }
public void Handle(SubscribeCounter message) { // add a subscription for this counter // (it's parent's job to filter by counter types) _subscriptions.Add(message.Subscriber); }
private void Handle(SubscribeCounter message) => _subscriptions.Add(message.Subscriber);