C# Класс Ywdsoft.Utility.FileGen

NVelocity读取模版文件生成
Показать файл Открыть проект

Открытые методы

Метод Описание
GetFile ( string path, Hashtable ht, string strOutputPath ) : void

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

GetFileText ( string path, Hashtable ht ) : StringWriter

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

Описание методов

GetFile() публичный статический Метод

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

GetFileText() публичный статический Метод

通过模版文件路径读取文件内容
public static GetFileText ( string path, Hashtable ht ) : StringWriter
path string 模版文件路径
ht System.Collections.Hashtable 模版文件的参数
Результат System.IO.StringWriter