Beispiel #1
0
 private Task <IEnumerable <IProxyAsset> > BuildAsset(BuildContext context, AssetSource source)
 {
     return(_cache.FetchOrCreate(Identity, _memoryManager, source, async s => {
         var imported = await ImportAsset(context, source);
         return await Task.WhenAll(imported.Select(a => ProcessAsset(context, a)));
     }));
 }