private static bool IsRecursive(CommonResponse.Header.TraceError traceError) { if (traceError == null) { return(false); } return(traceError.traceError != null); }
private static void CreateGamebaseErrorByTraceErrorRecursion(GamebaseError gamebaseError, CommonResponse.Header.TraceError traceError) { gamebaseError.error = new GamebaseError(traceError.resultCode, traceError.throwPoint, traceError.resultMessage); if (traceError.traceError != null) { CreateGamebaseErrorByTraceErrorRecursion(gamebaseError.error, traceError.traceError); } }