public class TypeDescriptionProvider extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.TypeDescriptionProvider
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.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.TypeConverter
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.TypeDescriptionProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TypeDescriptionProvider() |
TypeDescriptionProvider(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeDescriptionProvider |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TypeDescriptionProvider, a cast assert is made to check if types are compatible. |
NetObject |
CreateInstance(IServiceProvider provider,
NetType objectType,
NetType[] argTypes,
NetObject[] args)
Invokes the .NET member CreateInstance.
|
IDictionary |
GetCache(NetObject instance)
Invokes the .NET member GetCache.
|
ICustomTypeDescriptor |
GetExtendedTypeDescriptor(NetObject instance)
Invokes the .NET member GetExtendedTypeDescriptor.
|
ICustomTypeDescriptor |
GetExtendedTypeDescriptorFromRegisteredType(NetObject instance)
Invokes the .NET member GetExtendedTypeDescriptorFromRegisteredType.
|
java.lang.String |
GetFullComponentName(NetObject component)
Invokes the .NET member GetFullComponentName.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
NetType |
GetReflectionType(NetObject instance)
Invokes the .NET member GetReflectionType.
|
NetType |
GetReflectionType(NetType objectType)
Invokes the .NET member GetReflectionType.
|
NetType |
GetReflectionType(NetType objectType,
NetObject instance)
Invokes the .NET member GetReflectionType.
|
Nullable_1 |
getRequireRegisteredTypes()
Gets the value of the .NET property RequireRegisteredTypes.
|
NetType |
GetRuntimeType(NetType reflectionType)
Invokes the .NET member GetRuntimeType.
|
ICustomTypeDescriptor |
GetTypeDescriptor(NetObject instance)
Invokes the .NET member GetTypeDescriptor.
|
ICustomTypeDescriptor |
GetTypeDescriptor(NetType objectType)
Invokes the .NET member GetTypeDescriptor.
|
ICustomTypeDescriptor |
GetTypeDescriptor(NetType objectType,
NetObject instance)
Invokes the .NET member GetTypeDescriptor.
|
ICustomTypeDescriptor |
GetTypeDescriptorFromRegisteredType(NetObject instance)
Invokes the .NET member GetTypeDescriptorFromRegisteredType.
|
ICustomTypeDescriptor |
GetTypeDescriptorFromRegisteredType(NetType objectType)
Invokes the .NET member GetTypeDescriptorFromRegisteredType.
|
ICustomTypeDescriptor |
GetTypeDescriptorFromRegisteredType(NetType objectType,
NetObject instance)
Invokes the .NET member GetTypeDescriptorFromRegisteredType.
|
boolean |
IsRegisteredType(NetType type)
Invokes the .NET member IsRegisteredType.
|
boolean |
IsSupportedType(NetType type)
Invokes the .NET member IsSupportedType.
|
<T extends IJCOBridgeReflected> |
RegisterType()
Invokes the .NET member RegisterType.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TypeDescriptionProvider()
throws java.lang.Throwable
java.lang.Throwablepublic TypeDescriptionProvider(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static TypeDescriptionProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TypeDescriptionProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeDescriptionProvider instancejava.lang.Throwable - in case of error during cast operationpublic NetObject CreateInstance(IServiceProvider provider, NetType objectType, NetType[] argTypes, NetObject[] args) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, CultureNotFoundException
provider - the argument of type IServiceProviderobjectType - the argument of type NetTypeargTypes - the argument of type NetType[]args - the argument of type NetObject[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic IDictionary GetCache(NetObject instance) throws java.lang.Throwable
instance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICustomTypeDescriptor GetExtendedTypeDescriptor(NetObject instance) throws java.lang.Throwable
instance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICustomTypeDescriptor GetExtendedTypeDescriptorFromRegisteredType(NetObject instance) throws java.lang.Throwable
instance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetFullComponentName(NetObject component) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
component - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic NetType GetReflectionType(NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
instance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic NetType GetReflectionType(NetType objectType) throws java.lang.Throwable
objectType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType GetReflectionType(NetType objectType, NetObject instance) throws java.lang.Throwable
objectType - the argument of type NetTypeinstance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getRequireRegisteredTypes() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType GetRuntimeType(NetType reflectionType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
reflectionType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ICustomTypeDescriptor GetTypeDescriptor(NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
instance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ICustomTypeDescriptor GetTypeDescriptor(NetType objectType) throws java.lang.Throwable
objectType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICustomTypeDescriptor GetTypeDescriptor(NetType objectType, NetObject instance) throws java.lang.Throwable
objectType - the argument of type NetTypeinstance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICustomTypeDescriptor GetTypeDescriptorFromRegisteredType(NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
instance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ICustomTypeDescriptor GetTypeDescriptorFromRegisteredType(NetType objectType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
objectType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ICustomTypeDescriptor GetTypeDescriptorFromRegisteredType(NetType objectType, NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
objectType - the argument of type NetTypeinstance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean IsRegisteredType(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
type - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean IsSupportedType(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
type - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic <T extends IJCOBridgeReflected> void RegisterType() throws java.lang.Throwable
T - the type of the generic argument Tjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object