Namespace in generated code
No edit summary
(Updated Edited template to July 12, 2025.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you need additional namespaces to be added to generated code there is a property on the package called AdditionalNamespaces.  
<message>Write the content here to display this box</message>
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.


In the Package.AdditionalNamespaces you can give a comma separated list of namespaces.
In the Package.AdditionalNamespaces, you can give a comma-separated list of namespaces.
[[Category:C-Sharp]]
[[Category:C-Sharp]]
{{Edited|July|12|2025}}

Latest revision as of 05:53, 20 January 2025

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.