DocumentContainerBuilder.register

Register convertor for a property on path.

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

Parameters

convertor Convertor

convertor used to convert value found on path

path string

property path for which convertor could be used

Return Value

Type: PropertyContext!(void, typeof(this))

typeof(this)

Meta