|
ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Implementation of BatchRenderer which catches exceptions raised when rendering documents and rolls the failures into the output. More...


Public Member Functions | |
| ErrorTolerantBatchRenderer (IRenderingJobFactory renderingJobFactory=null) | |
| Initializes a new instance of the CSF.Zpt.BatchRendering.ErrorTolerantBatchRenderer class. More... | |
Public Member Functions inherited from CSF.Zpt.BatchRendering.BatchRenderer | |
| virtual IBatchRenderingResponse | Render (IBatchRenderingOptions batchOptions, IRenderingSettings settings) |
| Parse and render the documents found using the given batch rendering options. More... | |
| virtual IBatchRenderingResponse | Render (IBatchRenderingOptions batchOptions, IRenderingOptions options=null) |
| Parse and render the documents found using the given batch rendering options. More... | |
| virtual Action < IModelValueContainer > | GetContextConfigurator (IRenderingJob job) |
| Gets the rendering context configurator for a given job. More... | |
| BatchRenderer (IRenderingJobFactory renderingJobFactory=null, IRenderingSettingsFactory settingsFactory=null, IBatchRenderingOptionsValidator optionsValidator=null) | |
| Initializes a new instance of the CSF.Zpt.BatchRendering.BatchRenderer class. More... | |
Protected Member Functions | |
| override IBatchRenderingDocumentResponse | Render (IZptDocument doc, Stream outputStream, IRenderingSettings options, Action< IModelValueContainer > contextConfigurator, string outputInfo) |
| Renders a single ZPT document and returns a response. More... | |
Protected Member Functions inherited from CSF.Zpt.BatchRendering.BatchRenderer | |
| virtual IBatchRenderingDocumentResponse | Render (IRenderingJob job, IRenderingSettings options, IBatchRenderingOptions batchOptions, Action< IModelValueContainer > contextConfigurator) |
| Renders a single rendering job and returns a response. More... | |
| virtual IEnumerable < IRenderingJob > | GetRenderingJobs (IBatchRenderingOptions options, RenderingMode?mode) |
| Gets the rendering jobs from the rendering job factory. More... | |
| virtual void | ValidateBatchOptions (IBatchRenderingOptions options) |
| Validates the batch rendering options. More... | |
| virtual IZptDocument | GetDocument (IRenderingJob job) |
| Gets the document for a given rendering job. More... | |
| virtual string | GetOutputInfo (IRenderingJob job, IBatchRenderingOptions batchOptions) |
| Gets the output info for a given rendering job. More... | |
| virtual Stream | GetOutputStream (IRenderingJob job, IBatchRenderingOptions batchOptions) |
| Gets the output stream for a given rendering job. More... | |
Implementation of BatchRenderer which catches exceptions raised when rendering documents and rolls the failures into the output.
|
inline |
Initializes a new instance of the CSF.Zpt.BatchRendering.ErrorTolerantBatchRenderer class.
| renderingJobFactory | Rendering job factory. |
|
inlineprotectedvirtual |
Renders a single ZPT document and returns a response.
| doc | The document to render. |
| outputStream | The output stream. |
| options | Rendering options. |
| contextConfigurator | Context configurator. |
| outputInfo | Output info. |
Reimplemented from CSF.Zpt.BatchRendering.BatchRenderer.