public class TypeProvider extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Workflow.ComponentModel.Compiler.TypeProvider
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.Workflow.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: System.Workflow.ComponentModel
|
static java.lang.String |
className
Qualified class name: System.Workflow.ComponentModel.Compiler.TypeProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TypeProvider() |
TypeProvider(IServiceProvider serviceProvider) |
TypeProvider(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddAssembly(Assembly assembly) |
void |
AddAssemblyReference(java.lang.String path) |
void |
AddCodeCompileUnit(CodeCompileUnit codeCompileUnit) |
void |
addTypeLoadErrorsChanged(EventHandler handler) |
void |
addTypesChanged(EventHandler handler) |
static TypeProvider |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TypeProvider, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
java.lang.String |
GetAssemblyName(NetType type) |
static java.lang.String[] |
GetEnumNames(NetType enumType) |
static NetType |
GetEventHandlerType(EventInfo eventInfo) |
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
|
Assembly |
getLocalAssembly() |
NetObject |
GetService(NetType serviceType) |
NetType |
GetType(java.lang.String name) |
NetType |
GetType(java.lang.String name,
boolean throwOnError) |
NetType[] |
GetTypes() |
static boolean |
IsAssignable(NetType toType,
NetType fromType) |
static boolean |
IsEnum(NetType type) |
static boolean |
IsSubclassOf(NetType subclass,
NetType superClass) |
boolean |
IsSupportedProperty(PropertyInfo property,
NetObject declaringInstance) |
void |
RefreshCodeCompileUnit(CodeCompileUnit codeCompileUnit,
EventHandler refresher) |
void |
RemoveAssembly(Assembly assembly) |
void |
RemoveAssemblyReference(java.lang.String path) |
void |
RemoveCodeCompileUnit(CodeCompileUnit codeCompileUnit) |
void |
removeTypeLoadErrorsChanged(EventHandler handler) |
void |
removeTypesChanged(EventHandler handler) |
void |
setJCOInstance(JCObject instance) |
void |
SetLocalAssembly(Assembly assembly) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TypeProvider()
throws java.lang.Throwable
java.lang.Throwablepublic TypeProvider(IServiceProvider serviceProvider) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
public TypeProvider(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddAssembly(Assembly assembly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotSupportedException, NotImplementedException, MemberAccessException, TargetException, TargetParameterCountException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotSupportedExceptionNotImplementedExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionpublic void AddAssemblyReference(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PathTooLongException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
NotSupportedException,
InvalidOperationException,
NotImplementedException,
MemberAccessException,
TargetException,
TargetParameterCountException
public void AddCodeCompileUnit(CodeCompileUnit codeCompileUnit) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, MemberAccessException, TargetException, TargetParameterCountException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionpublic void addTypeLoadErrorsChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addTypesChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static TypeProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TypeProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeProvider instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic java.lang.String GetAssemblyName(NetType type) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionpublic static java.lang.String[] GetEnumNames(NetType enumType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException
public static NetType GetEventHandlerType(EventInfo eventInfo) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic Assembly getLocalAssembly() throws java.lang.Throwable
java.lang.Throwablepublic NetObject GetService(NetType serviceType) throws java.lang.Throwable
java.lang.Throwablepublic NetType GetType(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotSupportedException, InvalidOperationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, NullReferenceException, ObjectDisposedException, AbandonedMutexException, FormatException, NotImplementedException, MemberAccessException, TargetException, TargetParameterCountException, RankException, CultureNotFoundException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionNullReferenceExceptionObjectDisposedExceptionAbandonedMutexExceptionFormatExceptionNotImplementedExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionRankExceptionCultureNotFoundExceptionOverflowExceptionpublic NetType GetType(java.lang.String name, boolean throwOnError) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, NotImplementedException, FormatException, FileNotFoundException, RankException, ObjectDisposedException, AbandonedMutexException, OverflowException, TargetParameterCountException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotImplementedExceptionFormatExceptionFileNotFoundExceptionRankExceptionObjectDisposedExceptionAbandonedMutexExceptionOverflowExceptionTargetParameterCountExceptionpublic NetType[] GetTypes() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, NotImplementedException, FormatException, FileNotFoundException, RankException, ObjectDisposedException, AbandonedMutexException, OverflowException, TargetParameterCountException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotImplementedExceptionFormatExceptionFileNotFoundExceptionRankExceptionObjectDisposedExceptionAbandonedMutexExceptionOverflowExceptionTargetParameterCountExceptionpublic static boolean IsAssignable(NetType toType, NetType fromType) throws java.lang.Throwable, InvalidOperationException
java.lang.ThrowableInvalidOperationExceptionpublic static boolean IsEnum(NetType type) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static boolean IsSubclassOf(NetType subclass, NetType superClass) throws java.lang.Throwable
java.lang.Throwablepublic boolean IsSupportedProperty(PropertyInfo property, NetObject declaringInstance) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic void RefreshCodeCompileUnit(CodeCompileUnit codeCompileUnit, EventHandler refresher) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, MemberAccessException, TargetException, TargetParameterCountException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionpublic void RemoveAssembly(Assembly assembly) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, FormatException, InvalidOperationException, NotImplementedException, MemberAccessException, TargetException, TargetParameterCountException
public void RemoveAssemblyReference(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentOutOfRangeException,
ArgumentException,
NotSupportedException,
FormatException,
InvalidOperationException,
NotImplementedException,
MemberAccessException,
TargetException,
TargetParameterCountException
public void RemoveCodeCompileUnit(CodeCompileUnit codeCompileUnit) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, FormatException, InvalidOperationException, NotImplementedException, MemberAccessException, TargetException, TargetParameterCountException
public void removeTypeLoadErrorsChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeTypesChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void SetLocalAssembly(Assembly assembly) throws java.lang.Throwable, NotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, NotImplementedException, MemberAccessException, TargetException, TargetParameterCountException