DocumentContainerBuilder.register

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

  1. PropertyContext!(To, typeof(this)) register(string path)
    struct DocumentContainerBuilder(PolicyDocument : Marker!(DocumentTypeArg, FieldTypeArg, PoliciesArg), alias Marker, DocumentTypeArg, FieldTypeArg, PoliciesArg...)
    register
    (
    To
    From
    )
    (
    string path
    )
  2. PropertyContext!(To, typeof(this)) register(string path)
  3. PropertyContext!(To, typeof(this)) register()
  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

path string

property path for a field in document.

Meta