Table of Contents

Interface IDocumentSource

Namespace
Dassie.Extensions
Assembly
dc.dll

Represents a document source that can inject Dassie source code into compilations.

public interface IDocumentSource
Extension Methods

Properties

DocumentName

The name of the document this source represents.

string DocumentName { get; }

Property Value

string

Name

The name of the document source.

string Name { get; }

Property Value

string

Methods

GetText(List<XmlAttribute>, List<XmlNode>)

The method called when the document source is called.

string GetText(List<XmlAttribute> attributes, List<XmlNode> elements)

Parameters

attributes List<XmlAttribute>

The XML attributes passed to the document source.

elements List<XmlNode>

The XML elements passed to the document source.

Returns

string

The Dassie source code this document source represents.