Package system.codedom
Class CodeTypeReferenceCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.collections.CollectionBase
-
- system.codedom.CodeTypeReferenceCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class CodeTypeReferenceCollection extends CollectionBase
The base .NET class managing System.CodeDom.CodeTypeReferenceCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.CodeTypeReferenceCollection
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.CodeTypeReferenceCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description CodeTypeReferenceCollection()CodeTypeReferenceCollection(java.lang.Object instance)Internal constructor.CodeTypeReferenceCollection(CodeTypeReference[] value)CodeTypeReferenceCollection(CodeTypeReferenceCollection value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAdd(java.lang.String value)voidAdd(NetType value)intAdd(CodeTypeReference value)voidAddRange(CodeTypeReference[] value)voidAddRange(CodeTypeReferenceCollection value)static CodeTypeReferenceCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCodeTypeReferenceCollection, a cast assert is made to check if types are compatible.booleanContains(CodeTypeReference value)voidCopyTo(CodeTypeReference[] 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(CodeTypeReference value)voidInsert(int index, CodeTypeReference value)voidRemove(CodeTypeReference 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.CodeTypeReferenceCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CodeTypeReferenceCollection
public CodeTypeReferenceCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
CodeTypeReferenceCollection
public CodeTypeReferenceCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CodeTypeReferenceCollection
public CodeTypeReferenceCollection(CodeTypeReference[] value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
CodeTypeReferenceCollection
public CodeTypeReferenceCollection(CodeTypeReferenceCollection 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 CodeTypeReferenceCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCodeTypeReferenceCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CodeTypeReferenceCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(CodeTypeReference value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public int Add(CodeTypeReference value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IndexOf
public int IndexOf(CodeTypeReference value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public void Add(java.lang.String value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, InvalidOperationException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionInvalidOperationException
-
Add
public void Add(NetType value) throws java.lang.Throwable, ArgumentNullException, NotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotSupportedExceptionIndexOutOfRangeException
-
AddRange
public void AddRange(CodeTypeReference[] value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
AddRange
public void AddRange(CodeTypeReferenceCollection value) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
CopyTo
public void CopyTo(CodeTypeReference[] array, int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Insert
public void Insert(int index, CodeTypeReference value) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Remove
public void Remove(CodeTypeReference value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-