public async Task <IAsset <TOut> > Process(BuildContext context, IAsset <TIn> asset) { var intermediate = await _first.Process(context, asset); var result = await _second.Process(context, intermediate); return(result); }
public async Task <IAsset> Process(BuildContext context, IAsset asset) { return(await _processor.Process(context, asset as IAsset <TIn>)); }