Class IExpandoImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.interopservices.expando.IExpandoImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IReflect
,IExpando
public class IExpandoImplementation extends NetObject implements IExpando
The base .NET class managing System.Runtime.InteropServices.Expando.IExpando, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.InteropServices.Expando.IExpando
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.String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: mscorlibstatic java.lang.String
className
Qualified class name: System.Runtime.InteropServices.Expando.IExpandostatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IExpandoImplementation(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldInfo
AddField(java.lang.String name)
PropertyInfo
AddProperty(java.lang.String name)
FieldInfo
GetField(java.lang.String name, BindingFlags bindingAttr)
FieldInfo[]
GetFields(BindingFlags bindingAttr)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeMemberInfo[]
GetMember(java.lang.String name, BindingFlags bindingAttr)
MemberInfo[]
GetMembers(BindingFlags bindingAttr)
MethodInfo
GetMethod(java.lang.String name, BindingFlags bindingAttr)
MethodInfo
GetMethod(java.lang.String name, BindingFlags bindingAttr, Binder binder, NetType[] types, ParameterModifier[] modifiers)
MethodInfo[]
GetMethods(BindingFlags bindingAttr)
PropertyInfo[]
GetProperties(BindingFlags bindingAttr)
PropertyInfo
GetProperty(java.lang.String name, BindingFlags bindingAttr)
PropertyInfo
GetProperty(java.lang.String name, BindingFlags bindingAttr, Binder binder, NetType returnType, NetType[] types, ParameterModifier[] modifiers)
NetType
getUnderlyingSystemType()
NetObject
InvokeMember(java.lang.String name, BindingFlags invokeAttr, Binder binder, NetObject target, NetObject[] args, ParameterModifier[] modifiers, CultureInfo culture, java.lang.String[] namedParameters)
NetObject
InvokeMember(java.lang.String dupParam0, BindingFlags dupParam1, Binder dupParam2, NetObject dupParam3, NetObject[] dupParam4, ParameterModifier[] dupParam5, CultureInfo dupParam6, JCORefOut dupParam7)
void
RemoveMember(MemberInfo m)
static IExpando
ToIExpando(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIExpando
, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.InteropServices.Expando.IExpando- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIExpando
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIReflect
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIExpando
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIReflect
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIExpando
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIReflect
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIExpando
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIReflect
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIExpando
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIReflect
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIExpando
public static IExpando ToIExpando(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIExpando
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IExpando
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
InvokeMember
public NetObject InvokeMember(java.lang.String name, BindingFlags invokeAttr, Binder binder, NetObject target, NetObject[] args, ParameterModifier[] modifiers, CultureInfo culture, java.lang.String[] namedParameters) throws java.lang.Throwable
- Specified by:
InvokeMember
in interfaceIReflect
- Throws:
java.lang.Throwable
-
InvokeMember
public NetObject InvokeMember(java.lang.String dupParam0, BindingFlags dupParam1, Binder dupParam2, NetObject dupParam3, NetObject[] dupParam4, ParameterModifier[] dupParam5, CultureInfo dupParam6, JCORefOut dupParam7) throws java.lang.Throwable
- Specified by:
InvokeMember
in interfaceIReflect
- Throws:
java.lang.Throwable
-
AddField
public FieldInfo AddField(java.lang.String name) throws java.lang.Throwable
-
GetField
public FieldInfo GetField(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable
-
GetFields
public FieldInfo[] GetFields(BindingFlags bindingAttr) throws java.lang.Throwable
-
GetMember
public MemberInfo[] GetMember(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable
-
GetMembers
public MemberInfo[] GetMembers(BindingFlags bindingAttr) throws java.lang.Throwable
- Specified by:
GetMembers
in interfaceIReflect
- Throws:
java.lang.Throwable
-
GetMethod
public MethodInfo GetMethod(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable
-
GetMethod
public MethodInfo GetMethod(java.lang.String name, BindingFlags bindingAttr, Binder binder, NetType[] types, ParameterModifier[] modifiers) throws java.lang.Throwable
-
GetMethods
public MethodInfo[] GetMethods(BindingFlags bindingAttr) throws java.lang.Throwable
- Specified by:
GetMethods
in interfaceIReflect
- Throws:
java.lang.Throwable
-
AddProperty
public PropertyInfo AddProperty(java.lang.String name) throws java.lang.Throwable
- Specified by:
AddProperty
in interfaceIExpando
- Throws:
java.lang.Throwable
-
GetProperty
public PropertyInfo GetProperty(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable
- Specified by:
GetProperty
in interfaceIReflect
- Throws:
java.lang.Throwable
-
GetProperty
public PropertyInfo GetProperty(java.lang.String name, BindingFlags bindingAttr, Binder binder, NetType returnType, NetType[] types, ParameterModifier[] modifiers) throws java.lang.Throwable
- Specified by:
GetProperty
in interfaceIReflect
- Throws:
java.lang.Throwable
-
GetProperties
public PropertyInfo[] GetProperties(BindingFlags bindingAttr) throws java.lang.Throwable
- Specified by:
GetProperties
in interfaceIReflect
- Throws:
java.lang.Throwable
-
RemoveMember
public void RemoveMember(MemberInfo m) throws java.lang.Throwable
- Specified by:
RemoveMember
in interfaceIExpando
- Throws:
java.lang.Throwable
-
getUnderlyingSystemType
public NetType getUnderlyingSystemType() throws java.lang.Throwable
- Specified by:
getUnderlyingSystemType
in interfaceIReflect
- Throws:
java.lang.Throwable
-
-