Inheritance: IDisposable
コード例 #1
0
 async Task UpdateRules(ArmaServer si, CancellationToken ct)
 {
     try {
         await si.UpdateRules(ct).ConfigureAwait(false);
     } catch (Exception ex) {
         si.LastRuleError = ex;
     }
 }
コード例 #2
0
 async Task UpdateRules(ArmaServer si, CancellationToken ct) {
     try {
         await si.UpdateRules(ct).ConfigureAwait(false);
     } catch (Exception ex) {
         si.LastRuleError = ex;
     }
 }