Пример #1
0
        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);
        }
Пример #2
0
 public async Task <IAsset> Process(BuildContext context, IAsset asset)
 {
     return(await _processor.Process(context, asset as IAsset <TIn>));
 }