Service.addFunction

Undocumented in source. Be warned that the author may not have intended to support it.
  1. void addFunction(T func)
    class Service
    void
    addFunction
    (
    string name
    bool simple = false
    T
    )
    ()
    if (
    isCallable!T &&
    (
    name != "*" ||
    is(ReturnType!T == Variant) &&
    Parameters!T.length >= 2
    &&
    is(Parameters!T[0] == string)
    &&
    is(Parameters!T[1] == Variant[])
    )
    )
  2. void addFunction(T func)

Meta