public static void PostNetworkResponse(NetworkResponse networkResponse) { if (networkResponse == null) return; if (OnNetworkResponse != null) MXDevice.OnNetworkResponse(networkResponse); }
public static void PostNetworkResponse(NetworkResponse networkResponse) { if (networkResponse == null) { return; } if (OnNetworkResponse != null) { Device.OnNetworkResponse(networkResponse); } }
/// <summary> /// Invokes the <see cref="OnNetworkResponse"/> event using the specified network response. /// </summary> /// <param name="networkResponse">The network response from a previous request.</param> public static void PostNetworkResponse(NetworkResponse networkResponse) { if (networkResponse == null) { return; } var responseHandler = OnNetworkResponse; if (responseHandler != null) { responseHandler(networkResponse); } }