Container.execute

Executes a method, automatically resolving any required parameters.

  1. auto execute(Type type)
  2. auto execute(Type type)
    class Container(T)
    execute
    (
    string member
    Type
    )
    (
    Type type
    )
    if (
    Parameters!(__traits(getMember, Type, member)).length > 0
    )

Parameters

member

The name of the member to execute.

type Type

The object to call the method on.

Meta