コード例 #1
0
 /// <summary>
 /// Create common static constructor method.
 /// </summary>
 public static CodeBlockNested WriteInit(this CodeBlockNested block,
                                         string className,
                                         [CallerFilePath] String filePath    = "",
                                         [CallerLineNumber] Int32 lineNumber = 0)
 {
     block.WriteInitStart(className, filePath, lineNumber);
     block.WriteInitEnd();
     return(block);
 }