Esempio n. 1
0
 protected override async Task <ApiModInfo?> ResolveCacheMiss(string key)
 {
     try
     {
         return(await ModApi.RequestModInfoAsync(key));
     }
     catch (ResourceNotFoundException)
     {
         return(null);
     }
 }
Esempio n. 2
0
 protected override Task <ApiModInfo> ResolveCacheMiss(string key)
 => ModApi.RequestModInfoAsync(key);