Class ProxyFactory

Creates a proxy to an object or interface of type T, that is located in source locator by some identity.

class ProxyFactory(T)
  
if (is(T == class) && !isFinalClass!T && !isAbstractClass!T || is(T == interface));

Constructors

NameDescription
this Constructor for ProxyFactory!(T)

Methods

NameDescription
destruct Destructs a component of type T.
factory Instantiates component of type T.
identity Set the identity of proxied object
identity Get the identity of proxied object.
locator Set locator
locator Get locator
source Set the source of proxied object.
source Get the source of proxied object.
type Get the type info of T that is created.