DocumentContainerBuilder.register

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

  1. typeof(this) register(string path)
    struct DocumentContainerBuilder(DocumentContainerType : Storage!(Convertor, string), alias AdvisedConvertor, F)
    ref
    typeof(this)
    register
    (
    To
    )
    (
    string path
    )
  2. typeof(this) register()
  3. typeof(this) register()
  4. typeof(this) register(Convertor convertor, string path)
  5. typeof(this) register(Convertor convertor)

Parameters

To

the type of destination component that convertor should yield

path string

property path for a field in document.

Meta