static void proxy_UnlockAspUserCompleted(object sender, UnlockAspUserCompletedEventArgs e) { Guid callerKey = (Guid)e.UserState; if (_callbacks.ContainsKey(callerKey)) { common.AspUser itemSource = e.Result; ((UnlockAspUserCallBack)_callbacks[callerKey]).Invoke(itemSource); _callbacks.Remove(callerKey); } }
static void proxy_UnlockAspUserCompleted(object sender, UnlockAspUserCompletedEventArgs e) { Guid callerKey = (Guid)e.UserState; if (_callbacks.ContainsKey(callerKey)) { AspUser itemSource = e.Result; ((UnlockAspUserCallBack)_callbacks[callerKey]).Invoke(itemSource); _callbacks.Remove(callerKey); } }