Namespace in generated code
No edit summary
(Automatically adding template at the end of the page.)
 
(3 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.  
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|2024}}

Latest revision as of 15:38, 10 February 2024

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.

This page was edited 100 days ago on 02/10/2024. What links here