Namespace in generated code
No edit summary
No edit summary
Line 1: Line 1:
If you need additional namespaces to be added to generated code, there is a property on the package called AdditionalNamespaces.  
If you need to add additional namespaces to generated code, there is a property on the package called AdditionalNamespaces.  


For code-generated ViewModels, the root class's package's AdditionalNamespaces is used.
For code-generated ViewModels, the root class's package's AdditionalNamespaces is used.

Revision as of 08:02, 3 July 2023

This page was created by Hans.karlsen@mdriven.net on 2021-08-25. Last edited by Edgar on 2025-01-20.

If you need to add additional namespaces to generated code, there is a property on the package called AdditionalNamespaces.

For code-generated ViewModels, the root class's package's AdditionalNamespaces is used.

In the Package.AdditionalNamespaces, you can give a comma-separated list of namespaces.