Пример #1
0
 public PublisherFactory(PublishCommandCatalog commandCatalog, PublishEventCatalog eventCatalog, DepsCatalog deps, string sourceService, string sourceHost)
 {
     _commandCatalog = commandCatalog;
     _eventCatalog   = eventCatalog;
     _deps           = deps;
     _sourceService  = sourceService;
     _sourceHost     = sourceHost;
 }
Пример #2
0
 internal Publisher(IExchangePublisher publisher, PublishCommandCatalog commandCatalog,
                    PublishEventCatalog eventCatalog, DepsCatalog deps, string sourceService, string sourceHost)
 {
     _publisher      = publisher;
     _eventCatalog   = eventCatalog;
     _commandCatalog = commandCatalog;
     _deps           = deps;
     _sourceHost     = sourceHost;
     _sourceService  = sourceService;
 }