convertorOf

Identify the convertor used to convert component.

Identify the convertor used to convert component. The object will be downcasted to ConvertorAware interface and if it succeeded convertor used to convert component will be returned. For non-object components null will be returned as no convertor can be extracted from them.

  1. const(Convertor) convertorOf(T object)
  2. Convertor convertorOf(T component)
  3. Convertor convertorOf(T convertor)
  4. const(Convertor) convertorOf(T convertor)
  5. immutable(Convertor) convertorOf(T convertor)
    nothrow @nogc @safe
    immutable(Convertor)
    convertorOf
    (
    T : immutable Convertor
    )
    (
    auto ref T convertor
    )

Return Value

Type: immutable(Convertor)

Convertor used to convert to contained component.

Meta