Imports System.CodeDom 'add the imports namespace Dim identityGroupInterfaceRet As New CodeCompileUnit() 'put the namespace hierarchy in...model name.. Dim modelNamespace As CodeNamespace = New CodeNamespace("Model")
Jason Kresowaty wrote[^]: A "nested" namespace is just syntactical sugar by the compiler. As far as the runtime is concerned, namespaces are not hierarchical. It is equivalent to adding a new CodeNamespace("A.B.C.D") to your CodeCompileUnit.Namespaces.
new CodeNamespace("A.B.C.D")
CodeCompileUnit.Namespaces
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)