有帮助吗?

解决方案

您已经有了正确的想法,但你的逗号位置被拧起来。为了让显示出来的个人枚举,而不是之前把它们放到逗号后。你可能想要把你的逗号在每行,而不是在这些情况下开始的结束。

e.g。

public enum ErrorTypeEnum 
{ 
   /// <summary>The process could not identify an agency </summary> 
   BatchAgencyIdentification,       // Couldn't identify agency 
   /// <summary>The batch document category was invalid.</summary> 
   BatchInvalidBatDocCatCode,     // Anything other than "C" 
   /// <summary>The batch has no documents.</summary> 
   BatchHasNoDocuments           // No document nodes 
... 
scroll top