Ejemplo n.º 1
0
        public ResponseData(bool isSuccessful, long code, string data = null)
        {
            IsSucceeded = isSuccessful;
            this.Data   = data;

            Code = NetworkTools.IsNetworkReachable() ?
                   code : (int)NetworkErrorCode.NotConnected;
        }