public AutoConsumerUpdater( IAutoMessageConsumer autoConsumer, IEntryUpdater entryUpdater) { autoConsumer.MessageReceived += OnMessageReceived; AutoConsumer = autoConsumer; EntryUpdater = entryUpdater; }
public EntryBroker( IEntryCreator creator, IEntryReader reader, IEntryUpdater updater, IEntryDeleter deleter) { _creator = creator; _reader = reader; _updater = updater; _deleter = deleter; }