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
Name
The name of the document source.
string Name { get; }
Property Value
Methods
GetText(List<XmlAttribute>, List<XmlNode>)
The method called when the document source is called.
string GetText(List<XmlAttribute> attributes, List<XmlNode> elements)
Parameters
attributesList<XmlAttribute>The XML attributes passed to the document source.
elementsList<XmlNode>The XML elements passed to the document source.
Returns
- string
The Dassie source code this document source represents.