public class Binder extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.CSharp.RuntimeBinder.Binder
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: Microsoft.CSharp, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.CSharp
|
static java.lang.String |
className
Qualified class name: Microsoft.CSharp.RuntimeBinder.Binder
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Binder() |
Binder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CallSiteBinder |
BinaryOperation(CSharpBinderFlags flags,
ExpressionType operation,
NetType context,
IEnumerable_1 argumentInfo) |
static Binder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Binder, a cast assert is made to check if types are compatible. |
static CallSiteBinder |
Convert(CSharpBinderFlags flags,
NetType type,
NetType context) |
static CallSiteBinder |
GetIndex(CSharpBinderFlags flags,
NetType context,
IEnumerable_1 argumentInfo) |
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 CallSiteBinder |
GetMember(CSharpBinderFlags flags,
java.lang.String name,
NetType context,
IEnumerable_1 argumentInfo) |
static CallSiteBinder |
Invoke(CSharpBinderFlags flags,
NetType context,
IEnumerable_1 argumentInfo) |
static CallSiteBinder |
InvokeConstructor(CSharpBinderFlags flags,
NetType context,
IEnumerable_1 argumentInfo) |
static CallSiteBinder |
InvokeMember(CSharpBinderFlags flags,
java.lang.String name,
IEnumerable_1 typeArguments,
NetType context,
IEnumerable_1 argumentInfo) |
static CallSiteBinder |
IsEvent(CSharpBinderFlags flags,
java.lang.String name,
NetType context) |
static CallSiteBinder |
SetIndex(CSharpBinderFlags flags,
NetType context,
IEnumerable_1 argumentInfo) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
static CallSiteBinder |
SetMember(CSharpBinderFlags flags,
java.lang.String name,
NetType context,
IEnumerable_1 argumentInfo) |
static CallSiteBinder |
UnaryOperation(CSharpBinderFlags flags,
ExpressionType operation,
NetType context,
IEnumerable_1 argumentInfo) |
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 Binder()
throws java.lang.Throwable
java.lang.Throwablepublic Binder(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static CallSiteBinder BinaryOperation(CSharpBinderFlags flags, ExpressionType operation, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, RankException, NotSupportedException, InvalidOperationException, EventSourceException
public static Binder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Binder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBinder instancejava.lang.Throwable - in case of error during cast operationpublic static CallSiteBinder Convert(CSharpBinderFlags flags, NetType type, NetType context) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, RankException, ArrayTypeMismatchException, EventSourceException
public static CallSiteBinder GetIndex(CSharpBinderFlags flags, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, FormatException, EventSourceException
public 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 CallSiteBinder GetMember(CSharpBinderFlags flags, java.lang.String name, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, RankException, EventSourceException
public static CallSiteBinder Invoke(CSharpBinderFlags flags, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, FormatException, EventSourceException
public static CallSiteBinder InvokeConstructor(CSharpBinderFlags flags, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentException, ArgumentOutOfRangeException, RankException, NotSupportedException, InvalidOperationException, EventSourceException
public static CallSiteBinder InvokeMember(CSharpBinderFlags flags, java.lang.String name, IEnumerable_1 typeArguments, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, FormatException, EventSourceException
public static CallSiteBinder IsEvent(CSharpBinderFlags flags, java.lang.String name, NetType context) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
public static CallSiteBinder SetIndex(CSharpBinderFlags flags, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, FormatException, EventSourceException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic static CallSiteBinder SetMember(CSharpBinderFlags flags, java.lang.String name, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, RankException, EventSourceException
public static CallSiteBinder UnaryOperation(CSharpBinderFlags flags, ExpressionType operation, NetType context, IEnumerable_1 argumentInfo) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, RankException, NotSupportedException, InvalidOperationException, EventSourceException