DocumentContainerBuilder.register

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

Parameters

To

the type of destination component that convertor should yield

Meta