Show / Hide Table of Contents

Class MetalDocumentAdapterFactory

Implementation of IGetsMetalDocumentAdapter which uses dependency injection to backfill the other dependencies, as well as the document.

Inheritance
System.Object
MetalDocumentAdapterFactory
Implements
IGetsMetalDocumentAdapter
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.Metal
Assembly: ZptSharp.dll
Syntax
public class MetalDocumentAdapterFactory : IGetsMetalDocumentAdapter

Constructors

| Improve this Doc View Source

MetalDocumentAdapterFactory(ISearchesForAttributes, IGetsMetalAttributeSpecs)

Initializes a new instance of the MetalDocumentAdapterFactory class.

Declaration
public MetalDocumentAdapterFactory(ISearchesForAttributes attributeSearcher, IGetsMetalAttributeSpecs specProvider)
Parameters
Type Name Description
ISearchesForAttributes attributeSearcher

Attribute searcher.

IGetsMetalAttributeSpecs specProvider

Spec provider.

Methods

| Improve this Doc View Source

GetMetalDocumentAdapter(IDocument)

Gets the METAL document adapter for the specified document.

Declaration
public MetalDocumentAdapter GetMetalDocumentAdapter(IDocument document)
Parameters
Type Name Description
IDocument document

A document.

Returns
Type Description
MetalDocumentAdapter

The METAL document adapter.

Implements

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