Exemplo n.º 1
0
        ConnectHandle IConsumePipeConnector.ConnectConsumePipe <T>(IPipe <ConsumeContext <T> > pipe)
        {
            var handle = _dynamicFilter.ConnectPipe(pipe);

            _connected.TrySetResultOnThreadPool(true);

            return(handle);
        }
Exemplo n.º 2
0
        ConnectHandle IConsumePipeConnector.ConnectConsumePipe <T>(IPipe <ConsumeContext <T> > pipe)
        {
            var handle = _dynamicFilter.ConnectPipe(pipe);

            if (_connected.Task.Status == TaskStatus.WaitingForActivation)
            {
                _connected.TrySetResultOnThreadPool(true);
            }

            return(handle);
        }
Exemplo n.º 3
0
 ConnectHandle IConsumePipeConnector.ConnectConsumePipe<T>(IPipe<ConsumeContext<T>> pipe)
 {
     return _filter.ConnectPipe(pipe);
 }
Exemplo n.º 4
0
 public ConnectHandle ConnectPipe <T>(IPipe <T> pipe)
     where T : class, PipeContext
 {
     return(_filter.ConnectPipe(pipe));
 }
Exemplo n.º 5
0
 ConnectHandle IConsumePipeConnector.ConnectConsumePipe <T>(IPipe <ConsumeContext <T> > pipe)
 {
     return(_dynamicFilter.ConnectPipe(pipe));
 }