destructor

Use method of destructor to destroy component.

Use method of destructor to destroy component. By convention it is assumed that first argument is destroyed compnent followed by optional arguments.

  1. Z destructor(Z factory, void delegate(RCIAllocator, ref T, Args) dg, Args args)
  2. Z destructor(Z factory, X destructor, Args args)
  3. Z destructor(Z factory, Args args)
    @safe
    Z
    destructor
    (
    string method
    X
    Z : InstanceDestructorAware!T
    T
    Args...
    )
    (,
    Args args
    )

Parameters

method

destructor's method used to destroy component

factory Z

component factory

args Args

arguments passed to destructor

Return Value

Type: Z

factory

Meta