C# Class CCNet.SourceNotifier.XmlProcessor.TemplateEngine

Incapsulates XSLT transformations.
Afficher le fichier Open project: shuruev/CCNet.Extensions

Méthodes publiques

Méthode Description
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.

Method Details

GetCompiledTransform() public static méthode

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

GetProcessedString() public static méthode

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
Résultat string

WriteProcessed() public static méthode

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
Résultat void