public class CodeNamespace extends CodeObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.CodeNamespace
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.CodeDom
|
static java.lang.String |
className
Qualified class name: System.CodeDom.CodeNamespace
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CodeNamespace() |
CodeNamespace(java.lang.Object instance)
Internal constructor.
|
CodeNamespace(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPopulateComments(EventHandler handler) |
void |
addPopulateImports(EventHandler handler) |
void |
addPopulateTypes(EventHandler handler) |
static CodeNamespace |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CodeNamespace, a cast assert is made to check if types are compatible. |
CodeCommentStatementCollection |
getComments() |
CodeNamespaceImportCollection |
getImports() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getName() |
CodeTypeDeclarationCollection |
getTypes() |
void |
removePopulateComments(EventHandler handler) |
void |
removePopulateImports(EventHandler handler) |
void |
removePopulateTypes(EventHandler handler) |
void |
setJCOInstance(JCObject instance) |
void |
setName(java.lang.String Name) |
getUserDatapublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CodeNamespace()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionpublic CodeNamespace(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic CodeNamespace(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionpublic void addPopulateComments(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPopulateImports(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPopulateTypes(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static CodeNamespace cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CodeNamespace, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCodeNamespace instancejava.lang.Throwable - in case of error during cast operationpublic CodeCommentStatementCollection getComments() throws java.lang.Throwable
java.lang.Throwablepublic CodeNamespaceImportCollection getImports() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CodeObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CodeObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CodeObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CodeObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class CodeObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwablepublic CodeTypeDeclarationCollection getTypes() throws java.lang.Throwable
java.lang.Throwablepublic void removePopulateComments(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePopulateImports(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePopulateTypes(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class CodeObjectpublic void setName(java.lang.String Name)
throws java.lang.Throwable
java.lang.Throwable