The T4 template searches the template's project to look for non-static, classes, with no constructor. A constructor will be added per class that will take all private instance fields of that type as input.
$ dotnet add package T4ConstructorGeneratorNo README available.