Create() public method

public Create ( ) : Chain
return Chain
Example #1
0
        static Task Connector(ChainFactory factory, TransportMessage message)
        {
            var pipeline = factory.Create();
            var context  = new IncomingContext(message);

            return(pipeline.Invoke(context));
        }
Example #2
0
 static Task Connector(ChainFactory factory, TransportMessage message)
 {
     var pipeline = factory.Create();
     var context = new IncomingContext(message);
     return pipeline.Invoke(context);
 }