Every derived document type should implement an empty default constructor for the
document factory to use. The empty constructor _should not_ call other constructors
(otherwise the document will be incorrectly marked as fully initialized).
If properties like
Source
or Metadata
need to be initialized
to default values, protected setters are provided that can be called until the document
has been accessed or fully initialized by the factory (at which point the setters will throw).
- Namespace
- Statiq
.Common - Containing Type
- Document
<TDocument>
Syntax
protected Document()