ConvertorContext.property

Register a property into converting container

  1. auto property(string path)
  2. auto property(string path)
    struct ConvertorContext(T : Storage!(ConvertorFactory!(FromType, Object), string), FromType)
    static if(is(T : GenericConvertorContainer!(FromType, DefaultFactory), alias DefaultFactory))
    property
    (
    ToType
    )
    (
    string path
    )

Parameters

path string

the path or identity of property

ToType

the type of property that is registered

Return Value

Type: auto

ConvertorFactory!(FromType, ToType)

Meta