internal CompleteInformation(WCFGeneratorException exception) { IsSuccess = false; mException = exception; DCCount = 0; SCCount = 0; TotalElapsedTime = TimeSpan.MinValue; }
internal CompleteInformation(int dCCount, int sCCount, TimeSpan generationTime) { IsSuccess = true; mException = (WCFGeneratorException)null; DCCount = dCCount; SCCount = sCCount; TotalElapsedTime = generationTime; }
public static void SaveException(System.Exception e) { if (e is WCFGeneratorException) { Log.mException = e as WCFGeneratorException; } else { Log.mException = new WCFGeneratorException(e); } }