public void CancelAsync(string groupName) { if (groupName == null) { this.CancelAsync(); } else { lock (this._syncGroupMap.SyncRoot) { SyncGroupHelper helper = (SyncGroupHelper)this._syncGroupMap[groupName]; if (helper != null) { helper.CancelAsync(); } } } }
public void CancelAsync(string groupName) { if (groupName == null) { this.CancelAsync(); } else { lock (this._syncGroupMap.SyncRoot) { SyncGroupHelper local_2 = (SyncGroupHelper)this._syncGroupMap[(object)groupName]; if (local_2 == null) { return; } local_2.CancelAsync(); } } }