Enum member isConfiguratorPolicy

Check if a type T is a configurator policy.

enum isConfiguratorPolicy(T, X, Z) = is(T == struct) && is(typeof(&T.configure!X) : void function(M, Locator!()), M : X);

Check if a type T is a configurator policy. A configurator policy is a policy that given a type X can create InstanceFactory, InstanceDestructor, or PropertyConfigurer instances and add them to a factory that implements GenericFactory!X interface, as well as modify other properties exposed by GenericFactory!X interface.