Exemplo n.º 1
0
    public MessagePipeDemo(IPublisher <int> publisher, ISubscriber <int> subscriber, IObjectResolver resolver)
    {
        this.publisher  = publisher;
        this.subscriber = subscriber;

        GlobalMessagePipe.SetProvider(resolver.AsServiceProvider());
    }