diConstructorString

Generates code for a constructor with a parameter for each @dependency field and assigns the passed value to the corresponding field.

class MyType {
	mixin(diConstructorString!(typeof(this)));
}
template diConstructorString (
T
) {}

Members

Variables

diConstructorString
enum string diConstructorString;
Undocumented in source.

See Also

Meta