C# Class Ywdsoft.Utility.FileGen

NVelocity读取模版文件生成
Datei anzeigen Open project: CrazyJson/TaskManager

Public Methods

Method Description
GetFile ( string path, Hashtable ht, string strOutputPath ) : void

通过模版文件路径读取文件内容

GetFileText ( string path, Hashtable ht ) : StringWriter

通过模版文件路径读取文件内容

Method Details

GetFile() public static method

通过模版文件路径读取文件内容
public static GetFile ( string path, Hashtable ht, string strOutputPath ) : void
path string 模版文件路径
ht System.Collections.Hashtable 模版文件的参数
strOutputPath string 生成文件的输出路径,如c:\1.txt
return void

GetFileText() public static method

通过模版文件路径读取文件内容
public static GetFileText ( string path, Hashtable ht ) : StringWriter
path string 模版文件路径
ht System.Collections.Hashtable 模版文件的参数
return System.IO.StringWriter