Package system.codedom
Class CodeTypeDeclarationCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.collections.CollectionBase
-
- system.codedom.CodeTypeDeclarationCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class CodeTypeDeclarationCollection extends CollectionBase
The base .NET class managing System.CodeDom.CodeTypeDeclarationCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.CodeTypeDeclarationCollection
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.CodeDom.CodeTypeDeclarationCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description CodeTypeDeclarationCollection()CodeTypeDeclarationCollection(java.lang.Object instance)Internal constructor.CodeTypeDeclarationCollection(CodeTypeDeclaration[] value)CodeTypeDeclarationCollection(CodeTypeDeclarationCollection value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intAdd(CodeTypeDeclaration value)voidAddRange(CodeTypeDeclaration[] value)voidAddRange(CodeTypeDeclarationCollection value)static CodeTypeDeclarationCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCodeTypeDeclarationCollection, a cast assert is made to check if types are compatible.booleanContains(CodeTypeDeclaration value)voidCopyTo(CodeTypeDeclaration[] array, int index)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintIndexOf(CodeTypeDeclaration value)voidInsert(int index, CodeTypeDeclaration value)voidRemove(CodeTypeDeclaration value)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.collections.CollectionBase
Clear, getCapacity, getCount, RemoveAt, setCapacity
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.CodeDom.CodeTypeDeclarationCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CodeTypeDeclarationCollection
public CodeTypeDeclarationCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
CodeTypeDeclarationCollection
public CodeTypeDeclarationCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CodeTypeDeclarationCollection
public CodeTypeDeclarationCollection(CodeTypeDeclaration[] value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
CodeTypeDeclarationCollection
public CodeTypeDeclarationCollection(CodeTypeDeclarationCollection value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classCollectionBase- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classCollectionBase- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classCollectionBase- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classCollectionBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classCollectionBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classCollectionBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static CodeTypeDeclarationCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCodeTypeDeclarationCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CodeTypeDeclarationCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(CodeTypeDeclaration value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public int Add(CodeTypeDeclaration value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IndexOf
public int IndexOf(CodeTypeDeclaration value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AddRange
public void AddRange(CodeTypeDeclaration[] value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
AddRange
public void AddRange(CodeTypeDeclarationCollection value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
CopyTo
public void CopyTo(CodeTypeDeclaration[] array, int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Insert
public void Insert(int index, CodeTypeDeclaration value) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Remove
public void Remove(CodeTypeDeclaration value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-