Class DocumentContent

Marks the string property that receives the full text of a resource read by TextDocumentSource<TOutput> when no ResultSelector is set.

Inheritance
DocumentContent
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
    [AttributeUsage(AttributeTargets.Property)]
public sealed class DocumentContent : Attribute
Examples
public class Document {
    [DocumentContent]
    public string Content { get; set; }
    [DocumentRequestUri]
    public string Source { get; set; }
}

Properties

PropertyName

Name of the property that holds the attribute. Set automatically.

Declaration
    public string PropertyName { get; set; }
Property Value
TypeDescription
string