コード例 #1
0
 protected virtual void OnGenerationError(TestGenerationError testGenerationError)
 {
     if (GenerationError != null)
         GenerationError(testGenerationError);
 }
コード例 #2
0
 private string GenerateError(Exception ex, CodeDomHelper codeDomHelper)
 {
     TestGenerationError testGenerationError = new TestGenerationError(ex);
     OnGenerationError(testGenerationError);
     return codeDomHelper.GetErrorStatementString(testGenerationError.Message);
 }