|
ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Interface for a type which creates instances of TemplateFile. More...

Public Member Functions | |
| bool | TryDetectMode (FileInfo sourceFile, out RenderingMode detectedMode) |
| Gets a value indicating the RenderingMode detected for a given source file. More... | |
| TemplateFile | CreateTemplateFile (FileInfo sourceFile, Encoding encoding=null, RenderingMode?renderingMode=null) |
| Creates a template file from the given source file. More... | |
| TemplateFile | CreateTemplateFile (FileInfo sourceFile, Type providerType, Encoding encoding=null) |
| Creates a template file from the given source file. More... | |
| TemplateFile | CreateTemplateFile (IZptDocument document) |
| Creates a template file from the given ZPT document. More... | |
Interface for a type which creates instances of TemplateFile.
| TemplateFile CSF.Zpt.Tales.ITemplateFileFactory.CreateTemplateFile | ( | FileInfo | sourceFile, |
| Encoding | encoding = null, |
||
| RenderingMode? | renderingMode = null |
||
| ) |
Creates a template file from the given source file.
| sourceFile | The source file containing the document to create. |
| encoding | The text encoding to use in reading the source file. |
| renderingMode | The rendering mode to use in creating the output document. |
Implemented in CSF.Zpt.ZptDocumentFactory.
| TemplateFile CSF.Zpt.Tales.ITemplateFileFactory.CreateTemplateFile | ( | FileInfo | sourceFile, |
| Type | providerType, | ||
| Encoding | encoding = null |
||
| ) |
Creates a template file from the given source file.
| sourceFile | The source file containing the document to create. |
| providerType | The IZptDocumentProvider type to use for creating the document. |
| encoding | The text encoding to use in reading the source file. |
Implemented in CSF.Zpt.ZptDocumentFactory.
| TemplateFile CSF.Zpt.Tales.ITemplateFileFactory.CreateTemplateFile | ( | IZptDocument | document | ) |
Creates a template file from the given ZPT document.
| document | Document. |
Implemented in CSF.Zpt.ZptDocumentFactory.
| bool CSF.Zpt.Tales.ITemplateFileFactory.TryDetectMode | ( | FileInfo | sourceFile, |
| out RenderingMode | detectedMode | ||
| ) |
Gets a value indicating the RenderingMode detected for a given source file.
true if the RenderingMode could be auto-detected; false if not.| sourceFile | The source file. |
| detectedMode | Exposes the detected rendering mode. |
Implemented in CSF.Zpt.ZptDocumentFactory.