Example #1
0
 protected abstract IChainOutput MyLogic(IChainOutput input);
Example #2
0
 protected override IChainOutput MyLogic(IChainOutput input)
 {
     return(new OutputExample($"{input.Value} + Processor_C_Output"));
 }
Example #3
0
    public IChainOutput Run(IChainOutput previousOutput)
    {
        var myOutput = this.MyLogic(previousOutput);

        return(this.nextProcessor == null ? myOutput : this.nextProcessor.Run(myOutput));
    }