Closed VISTALL closed 3 years ago
public void test() { { onSuccess = joinCallbacks(initialCheckIn.InvokeSuccessCallback, onSuccess); onError = joinCallbacks(initialCheckIn.ErrorCallback, onError); networkErrorCallback = joinCallbacks(initialCheckIn.NetworkErrorCallback, networkErrorCallback); Action<T> joinCallbacks<T>(Action<T> initialCallback, Action<T> postCallback) { return value => initialCheckIn.InvokeCallbacks(initialCallback, postCallback, value); } } } }