private static void pipelineSkeleton(object message, Action <IConfigurablePublishing> configuration) { var p = new PublishChainCasing(null).Configure(configuration); var token = new PublishToken(message, new ISubscription[] { }); p.LookAt(token); }
internal Bus() { _services.Add <IPublisher>(this); _services.Add(new ObservableRelay(this)); _publishChainCasing = new PublishChainCasing(this); _subscriber = new Subscriber(_services); _disposer = new DisposeContainer { _publishChainCasing, _subscriber, (IDisposable)_services }; }
public static PublishChainCasing Configure(this PublishChainCasing pipeline, Action <IConfigurablePublishing> configure) { configure(pipeline); return(pipeline); }