DocumentContainerBuilder.register

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

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

Parameters

Iface

interface for which the convertor is bound to.

To

the type of destination component that convertor should yield

Meta