DocumentContainerBuilder

Configuration context that is providing a nice api to add convertors into a container for a document.

Constructors

this
this(DocumentContainerType container, bool containerAsConvertor)
Undocumented in source.

Alias This

container

ditto

Members

Aliases

FromType
alias FromType = F
Undocumented in source.
property
alias property = register
Undocumented in source.

Functions

register
typeof(this) register(string path)

Associate a convertor to a field in document that has property path, to be used for conversion.

register
typeof(this) register()

Associate a convertor to a type to be used by document when no specific convertor is provided for document field.

register
typeof(this) register(Convertor convertor, string path)
Undocumented in source. Be warned that the author may not have intended to support it.
register
typeof(this) register()

Associate a convertor to a type for an interface to be used by document when no specific convertor is provided for document field.

register
typeof(this) register(Convertor convertor)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

container
DocumentContainerType container;

Configured container.

containerAsConvertor
bool containerAsConvertor;
Undocumented in source.

Meta