Skip to content

BaseJsonTextsGenerator.TextsTarget constructor

A project whose texts are in a folder of the source tree, e.g. the web project itself and the projects of the features that it uses.

public TextsTarget(Assembly assembly, string folder, string prefix)
parameter description
assembly The assembly that has the texts of the project.
folder The folder of the texts of the project, which is either a path that starts from the root of a drive, e.g. "C:\Projects\MyApp\src\MyApp.Web\texts\resources", or one that starts from the folder of the web project, e.g. "texts/resources" for the one of the application itself, or "../MyFeature/texts/resources" for one of a feature project next to it.
prefix The prefix of the files of the project, e.g. "site.texts", for "site.texts.__.json".

Remarks

Initializes a new instance of the TextsTarget class.

See Also