ZPT-Sharp  v1.0.0
Zope Page Templates for .NET
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
CSF.Zpt.MVC.ZptViewEngine Class Reference
Inheritance diagram for CSF.Zpt.MVC.ZptViewEngine:
Collaboration diagram for CSF.Zpt.MVC.ZptViewEngine:

Public Member Functions

 ZptViewEngine (IZptViewEngineConfiguration config=null, string[] viewLocations=null, IRenderingContextFactoryFactory contextFactoryFactory=null, IContextVisitorFactory contextVisitorFactory=null)
 

Protected Member Functions

override IView CreateView (ControllerContext controllerContext, string viewPath, string masterPath)
 
override IView CreatePartialView (ControllerContext controllerContext, string partialPath)
 

Properties

IRenderingContextFactory ContextFactory [get, set]
 Gets the factory implementation with which to create RenderingContext instances. More...
 
virtual bool AddSourceFileAnnotation [get, set]
 Gets or sets a value indicating whether source file annotations should be added to the rendered output. More...
 
virtual IContextVisitor[] ContextVisitors [get, set]
 Gets the context visitors to be used when processing ZPT documents. More...
 
virtual Encoding OutputEncoding [get, set]
 Gets the encoding (eg: Unicode) for the rendered output. More...
 
virtual bool OmitXmlDeclaration [get, set]
 Gets a value indicating whether the XML declaration should be omitted (where applicable). More...
 
virtual string XmlIndentationCharacters [get, set]
 Gets a string used to indicate a single level of indentation to use when rendering an XML document. More...
 
virtual bool OutputIndentedXml [get, set]
 Gets a value indicating whether XML documents should be rendered with indentated formatting or not. More...
 
ITemplateFileFactory TemplateFactory [get, set]
 
RenderingMode RenderingMode [get, set]
 
Encoding ForceInputEncoding [get, set]
 

Property Documentation

virtual bool CSF.Zpt.MVC.ZptViewEngine.AddSourceFileAnnotation
getset

Gets or sets a value indicating whether source file annotations should be added to the rendered output.

true if source file annotations are to be added; otherwise, false.

IRenderingContextFactory CSF.Zpt.MVC.ZptViewEngine.ContextFactory
getset

Gets the factory implementation with which to create RenderingContext instances.

The rendering context factory.

virtual IContextVisitor [] CSF.Zpt.MVC.ZptViewEngine.ContextVisitors
getset

Gets the context visitors to be used when processing ZPT documents.

The context visitors.

virtual bool CSF.Zpt.MVC.ZptViewEngine.OmitXmlDeclaration
getset

Gets a value indicating whether the XML declaration should be omitted (where applicable).

true if the XML declaration is to be omitted; otherwise, false.

virtual Encoding CSF.Zpt.MVC.ZptViewEngine.OutputEncoding
getset

Gets the encoding (eg: Unicode) for the rendered output.

The output encoding.

virtual bool CSF.Zpt.MVC.ZptViewEngine.OutputIndentedXml
getset

Gets a value indicating whether XML documents should be rendered with indentated formatting or not.

true if the rendering process is to output indented XML; otherwise, false.

virtual string CSF.Zpt.MVC.ZptViewEngine.XmlIndentationCharacters
getset

Gets a string used to indicate a single level of indentation to use when rendering an XML document.

The XML indentation characters.


The documentation for this class was generated from the following file: