public class ReflectionModelServices extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.Composition.ReflectionModel.ReflectionModelServices
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.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.Composition
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.Composition.ReflectionModel.ReflectionModelServices
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ReflectionModelServices() |
ReflectionModelServices(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ReflectionModelServices |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ReflectionModelServices, a cast assert is made to check if types are compatible. |
static ExportDefinition |
CreateExportDefinition(LazyMemberInfo exportingMember,
java.lang.String contractName,
Lazy_1 metadata,
ICompositionElement origin) |
static ContractBasedImportDefinition |
CreateImportDefinition(Lazy_1 parameter,
java.lang.String contractName,
java.lang.String requiredTypeIdentity,
IEnumerable_1 requiredMetadata,
ImportCardinality cardinality,
CreationPolicy requiredCreationPolicy,
ICompositionElement origin) |
static ContractBasedImportDefinition |
CreateImportDefinition(Lazy_1 parameter,
java.lang.String contractName,
java.lang.String requiredTypeIdentity,
IEnumerable_1 requiredMetadata,
ImportCardinality cardinality,
CreationPolicy requiredCreationPolicy,
IDictionary_2 metadata,
boolean isExportFactory,
ICompositionElement origin) |
static ContractBasedImportDefinition |
CreateImportDefinition(LazyMemberInfo importingMember,
java.lang.String contractName,
java.lang.String requiredTypeIdentity,
IEnumerable_1 requiredMetadata,
ImportCardinality cardinality,
boolean isRecomposable,
boolean isPreRequisite,
CreationPolicy requiredCreationPolicy,
IDictionary_2 metadata,
boolean isExportFactory,
ICompositionElement origin) |
static ContractBasedImportDefinition |
CreateImportDefinition(LazyMemberInfo importingMember,
java.lang.String contractName,
java.lang.String requiredTypeIdentity,
IEnumerable_1 requiredMetadata,
ImportCardinality cardinality,
boolean isRecomposable,
CreationPolicy requiredCreationPolicy,
ICompositionElement origin) |
static ContractBasedImportDefinition |
CreateImportDefinition(LazyMemberInfo importingMember,
java.lang.String contractName,
java.lang.String requiredTypeIdentity,
IEnumerable_1 requiredMetadata,
ImportCardinality cardinality,
boolean isRecomposable,
CreationPolicy requiredCreationPolicy,
IDictionary_2 metadata,
boolean isExportFactory,
ICompositionElement origin) |
static ComposablePartDefinition |
CreatePartDefinition(Lazy_1 partType,
boolean isDisposalRequired,
Lazy_1 imports,
Lazy_1 exports,
Lazy_1 metadata,
ICompositionElement origin) |
static ContractBasedImportDefinition |
GetExportFactoryProductImportDefinition(ImportDefinition importDefinition) |
static LazyMemberInfo |
GetExportingMember(ExportDefinition exportDefinition) |
static LazyMemberInfo |
GetImportingMember(ImportDefinition importDefinition) |
static Lazy_1 |
GetImportingParameter(ImportDefinition importDefinition) |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
static Lazy_1 |
GetPartType(ComposablePartDefinition partDefinition) |
static boolean |
IsDisposalRequired(ComposablePartDefinition partDefinition) |
static boolean |
IsExportFactoryImportDefinition(ImportDefinition importDefinition) |
static boolean |
IsImportingParameter(ImportDefinition importDefinition) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
static boolean |
TryMakeGenericPartDefinition(ComposablePartDefinition partDefinition,
IEnumerable_1 genericParameters,
JCORefOut<ComposablePartDefinition> specialization) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic ReflectionModelServices()
throws java.lang.Throwable
java.lang.Throwablepublic ReflectionModelServices(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ReflectionModelServices cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ReflectionModelServices, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedReflectionModelServices instancejava.lang.Throwable - in case of error during cast operationpublic static ExportDefinition CreateExportDefinition(LazyMemberInfo exportingMember, java.lang.String contractName, Lazy_1 metadata, ICompositionElement origin) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static ContractBasedImportDefinition CreateImportDefinition(Lazy_1 parameter, java.lang.String contractName, java.lang.String requiredTypeIdentity, IEnumerable_1 requiredMetadata, ImportCardinality cardinality, CreationPolicy requiredCreationPolicy, ICompositionElement origin) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static ContractBasedImportDefinition CreateImportDefinition(Lazy_1 parameter, java.lang.String contractName, java.lang.String requiredTypeIdentity, IEnumerable_1 requiredMetadata, ImportCardinality cardinality, CreationPolicy requiredCreationPolicy, IDictionary_2 metadata, boolean isExportFactory, ICompositionElement origin) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static ContractBasedImportDefinition CreateImportDefinition(LazyMemberInfo importingMember, java.lang.String contractName, java.lang.String requiredTypeIdentity, IEnumerable_1 requiredMetadata, ImportCardinality cardinality, boolean isRecomposable, boolean isPreRequisite, CreationPolicy requiredCreationPolicy, IDictionary_2 metadata, boolean isExportFactory, ICompositionElement origin) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static ContractBasedImportDefinition CreateImportDefinition(LazyMemberInfo importingMember, java.lang.String contractName, java.lang.String requiredTypeIdentity, IEnumerable_1 requiredMetadata, ImportCardinality cardinality, boolean isRecomposable, CreationPolicy requiredCreationPolicy, ICompositionElement origin) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
public static ContractBasedImportDefinition CreateImportDefinition(LazyMemberInfo importingMember, java.lang.String contractName, java.lang.String requiredTypeIdentity, IEnumerable_1 requiredMetadata, ImportCardinality cardinality, boolean isRecomposable, CreationPolicy requiredCreationPolicy, IDictionary_2 metadata, boolean isExportFactory, ICompositionElement origin) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic static ComposablePartDefinition CreatePartDefinition(Lazy_1 partType, boolean isDisposalRequired, Lazy_1 imports, Lazy_1 exports, Lazy_1 metadata, ICompositionElement origin) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionpublic static ContractBasedImportDefinition GetExportFactoryProductImportDefinition(ImportDefinition importDefinition) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic static LazyMemberInfo GetExportingMember(ExportDefinition exportDefinition) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic static LazyMemberInfo GetImportingMember(ImportDefinition importDefinition) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic static Lazy_1 GetImportingParameter(ImportDefinition importDefinition) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic 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 org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static Lazy_1 GetPartType(ComposablePartDefinition partDefinition) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionpublic static boolean IsDisposalRequired(ComposablePartDefinition partDefinition) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionpublic static boolean IsExportFactoryImportDefinition(ImportDefinition importDefinition) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static boolean IsImportingParameter(ImportDefinition importDefinition) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic static boolean TryMakeGenericPartDefinition(ComposablePartDefinition partDefinition, IEnumerable_1 genericParameters, JCORefOut<ComposablePartDefinition> specialization) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException