C# 클래스 CCNet.SourceNotifier.XmlProcessor.TemplateEngine

Incapsulates XSLT transformations.
파일 보기 프로젝트 열기: shuruev/CCNet.Extensions

공개 메소드들

메소드 설명
GetCompiledTransform ( string templateName ) : XslCompiledTransform

Retrieves the XslCompiledTransform for the specified template name, using the results caching.

GetProcessedString ( string templateName, XsltArgumentList argumentList, System.Xml.Linq.XDocument data ) : string

Returns the results of XSLT transformation as a string.

WriteProcessed ( string templateName, XsltArgumentList argumentList, System.Xml.Linq.XDocument data, TextWriter outStream ) : void

Writes the results of XSLT transformation into the specified TextWriter.

메소드 상세

GetCompiledTransform() 공개 정적인 메소드

Retrieves the XslCompiledTransform for the specified template name, using the results caching.
public static GetCompiledTransform ( string templateName ) : XslCompiledTransform
templateName string
리턴 System.Xml.Xsl.XslCompiledTransform

GetProcessedString() 공개 정적인 메소드

Returns the results of XSLT transformation as a string.
public static GetProcessedString ( string templateName, XsltArgumentList argumentList, System.Xml.Linq.XDocument data ) : string
templateName string
argumentList System.Xml.Xsl.XsltArgumentList
data System.Xml.Linq.XDocument
리턴 string

WriteProcessed() 공개 정적인 메소드

Writes the results of XSLT transformation into the specified TextWriter.
public static WriteProcessed ( string templateName, XsltArgumentList argumentList, System.Xml.Linq.XDocument data, TextWriter outStream ) : void
templateName string
argumentList System.Xml.Xsl.XsltArgumentList
data System.Xml.Linq.XDocument
outStream System.IO.TextWriter
리턴 void