Show / Hide Table of Contents

Class ZptDocumentRendererForFilePathFactory

Implementation of IGetsZptDocumentRendererForFilePath which uses a file path to get a suitable implementation of IRendersZptDocument.

Inheritance
System.Object
ZptDocumentRendererForFilePathFactory
Implements
IGetsZptDocumentRendererForFilePath
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Rendering
Assembly: ZptSharp.dll
Syntax
public class ZptDocumentRendererForFilePathFactory : IGetsZptDocumentRendererForFilePath

Constructors

| Improve this Doc View Source

ZptDocumentRendererForFilePathFactory(IServiceProvider)

Initializes a new instance of the ZptDocumentRendererForFilePathFactory class.

Declaration
public ZptDocumentRendererForFilePathFactory(IServiceProvider serviceProvider)
Parameters
Type Name Description
System.IServiceProvider serviceProvider

Service provider.

Methods

| Improve this Doc View Source

GetDocumentRenderer(String)

Gets the document renderer.

Declaration
public IRendersZptDocument GetDocumentRenderer(string filePath)
Parameters
Type Name Description
System.String filePath

The path to a file which would be rendered by the renderer.

Returns
Type Description
IRendersZptDocument

The document renderer.

Implements

IGetsZptDocumentRendererForFilePath
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX