Show / Hide Table of Contents

Class ReaderWriterServiceLocator

A really simple class which holds a reference to an instance of IReadsAndWritesDocument. This is used for dependency-injecting a reader.writer object into per-scope services which need it. No logic except for ZptDocumentRenderer and the Bootstrap DI module should actually reference this type.

Inheritance
System.Object
ReaderWriterServiceLocator
Implements
IStoresCurrentReaderWriter
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.Dom
Assembly: ZptSharp.dll
Syntax
public class ReaderWriterServiceLocator : IStoresCurrentReaderWriter

Properties

| Improve this Doc View Source

ReaderWriter

Gets or sets the current document reader/writer.

Declaration
public IReadsAndWritesDocument ReaderWriter { get; set; }
Property Value
Type Description
IReadsAndWritesDocument

The document reader/writer.

Implements

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