DocumentContainerBuilder

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

Constructors

this
this(PolicyDocument policyDocument, RCIAllocator allocator)

Constructor for DocumentContainerBuilder

Alias This

document

ditto

Members

Aliases

DocumentType
alias DocumentType = DocumentTypeArg
Undocumented in source.
FieldType
alias FieldType = FieldTypeArg
Undocumented in source.
Policies
alias Policies = PoliciesArg
Undocumented in source.
property
alias property = register
Undocumented in source.

Functions

register
PropertyContext!(To, typeof(this)) register(string path)

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

register
PropertyContext!(To, 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
PropertyContext!(To, typeof(this)) register()

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

register
PropertyContext!(void, typeof(this)) register(Convertor convertor, string path, TypeInfo to)

Register convertor for a property on path.

Variables

allocator
RCIAllocator allocator;

Allocator used to construct and destruct components.

container
AggregateContainer container;

Locator useable in registering properties.

convertors
Convertor[] convertors;
Undocumented in source.
document
DocumentType document;

Root document from which components will be extracted

storage
Storage!(ObjectFactory, string) storage;

Storage for common document components

Meta