Create() public méthode

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

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