public ResponseData(bool isSuccessful, long code, string data = null) { IsSucceeded = isSuccessful; this.Data = data; Code = NetworkTools.IsNetworkReachable() ? code : (int)NetworkErrorCode.NotConnected; }
public ResponseData(bool isSuccessful, long code, string data = null) { IsSucceeded = isSuccessful; this.Data = data; Code = NetworkTools.IsNetworkReachable() ? code : (int)NetworkErrorCode.NotConnected; }