C# Class Cats.Helpers.TemplateHelper

显示文件 Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
GenerateTemplate ( int id, int templateType, string templateName ) : string
GenerateTemplatePreview ( int id, int templateType, string templateName, string templatePath, string documentPath ) : string
GetTransactionDetails ( int recordId ) : List
TemplateHelper ( log4net.ILog log ) : System
TemplateHelper ( IUnitOfWork unitOfWork, log4net.ILog log ) : System

Private Methods

Method Description
GetTemplateData ( int templateType, int recordId ) : string>.Dictionary

Method Details

GenerateTemplate() public method

public GenerateTemplate ( int id, int templateType, string templateName ) : string
id int
templateType int
templateName string
return string

GenerateTemplatePreview() public method

public GenerateTemplatePreview ( int id, int templateType, string templateName, string templatePath, string documentPath ) : string
id int
templateType int
templateName string
templatePath string
documentPath string
return string

GetTransactionDetails() public method

public GetTransactionDetails ( int recordId ) : List
recordId int
return List

TemplateHelper() public method

public TemplateHelper ( log4net.ILog log ) : System
log log4net.ILog
return System

TemplateHelper() public method

public TemplateHelper ( IUnitOfWork unitOfWork, log4net.ILog log ) : System
unitOfWork IUnitOfWork
log log4net.ILog
return System