protected abstract IChainOutput MyLogic(IChainOutput input);
protected override IChainOutput MyLogic(IChainOutput input) { return(new OutputExample($"{input.Value} + Processor_C_Output")); }
public IChainOutput Run(IChainOutput previousOutput) { var myOutput = this.MyLogic(previousOutput); return(this.nextProcessor == null ? myOutput : this.nextProcessor.Run(myOutput)); }