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