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. PropertyContext!(To, typeof(this)) register(string path)
  2. PropertyContext!(To, typeof(this)) register(string path)
  3. PropertyContext!(To, typeof(this)) register()
  4. PropertyContext!(To, typeof(this)) register()
    struct DocumentContainerBuilder(PolicyDocument : Marker!(DocumentTypeArg, FieldTypeArg, PoliciesArg), alias Marker, DocumentTypeArg, FieldTypeArg, PoliciesArg...)
    register
    (
    Iface
    To : Iface
    )
    ()
  5. PropertyContext!(void, typeof(this)) register(Convertor convertor, string path, TypeInfo to)

Parameters

Iface

interface for which the convertor is bound to.

To

the type of destination component that convertor should yield

Meta