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