C# Класс CCNet.SourceNotifier.XmlProcessor.TemplateEngine

Incapsulates XSLT transformations.
Показать файл Открыть проект

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

Метод Описание
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